account for advanced edit

This commit is contained in:
Jake Kasper
2025-08-22 08:40:21 -04:00
parent bb365d918d
commit f95422325c
3 changed files with 98 additions and 15 deletions

View File

@@ -100,6 +100,11 @@ CREATE TABLE user_products (
user_id INTEGER REFERENCES users(id) ON DELETE CASCADE,
product_id INTEGER REFERENCES products(id),
custom_name VARCHAR(255),
custom_brand VARCHAR(100),
category_id INTEGER REFERENCES product_categories(id),
custom_product_type VARCHAR(50) CHECK (custom_product_type IN ('granular', 'liquid')),
custom_active_ingredients TEXT,
custom_description TEXT,
custom_rate_amount DECIMAL(8, 4),
custom_rate_unit VARCHAR(50),
notes TEXT,