more slq fixes

This commit is contained in:
2026-05-07 20:41:43 -07:00
parent dd6ec9c01b
commit c230d4259f

View File

@@ -14,7 +14,7 @@ CREATE TABLE products (
id UUID PRIMARY KEY DEFAULT gen_random_uuid(), id UUID PRIMARY KEY DEFAULT gen_random_uuid(),
-- Store-specific Identifiers -- Store-specific Identifiers
business_id UUID REFERENCES businesses (id) NOT NULL, business_id UUID REFERENCES businesses (store_id) NOT NULL,
-- Product Details -- Product Details
product_name VARCHAR(255) NOT NULL, product_name VARCHAR(255) NOT NULL,
@@ -31,7 +31,3 @@ CREATE TABLE products (
-- Tracking time that we checked -- Tracking time that we checked
track_time TIMESTAMPTZ DEFAULT current_timestamp track_time TIMESTAMPTZ DEFAULT current_timestamp
); );
\i stores.sql;
\i products.sql;