minor
This commit is contained in:
6
db/40_product_images.sql
Normal file
6
db/40_product_images.sql
Normal file
@@ -0,0 +1,6 @@
|
||||
CREATE TABLE IF NOT EXISTS product_images (
|
||||
id UUID PRIMARY KEY,
|
||||
product_id UUID NOT NULL REFERENCES products(id) ON DELETE CASCADE,
|
||||
url TEXT NOT NULL,
|
||||
sort_order INTEGER NOT NULL DEFAULT 1
|
||||
);
|
||||
Reference in New Issue
Block a user