more slq fixes
This commit is contained in:
@@ -14,7 +14,7 @@ CREATE TABLE products (
|
||||
id UUID PRIMARY KEY DEFAULT gen_random_uuid(),
|
||||
|
||||
-- Store-specific Identifiers
|
||||
business_id UUID REFERENCES businesses (id) NOT NULL,
|
||||
business_id UUID REFERENCES businesses (store_id) NOT NULL,
|
||||
|
||||
-- Product Details
|
||||
product_name VARCHAR(255) NOT NULL,
|
||||
@@ -31,7 +31,3 @@ CREATE TABLE products (
|
||||
-- Tracking time that we checked
|
||||
track_time TIMESTAMPTZ DEFAULT current_timestamp
|
||||
);
|
||||
|
||||
|
||||
\i stores.sql;
|
||||
\i products.sql;
|
||||
|
||||
Reference in New Issue
Block a user