fix migration
This commit is contained in:
parent
068a6d9320
commit
bf09dc2318
@ -1,9 +1,9 @@
|
||||
DROP TABLE IF EXISTS users;
|
||||
DROP TABLE IF EXISTS merchants;
|
||||
DROP TABLE IF EXISTS suppliers;
|
||||
DROP TABLE IF EXISTS customers;
|
||||
DROP TABLE IF EXISTS products;
|
||||
DROP TABLE IF EXISTS purchase_order;
|
||||
DROP TABLE IF EXISTS purchase_order_detail;
|
||||
DROP TABLE IF EXISTS sale_order;
|
||||
DROP TABLE IF EXISTS sale_order_detail;
|
||||
DROP TABLE IF EXISTS purchase_order;
|
||||
DROP TABLE IF EXISTS sale_order;
|
||||
DROP TABLE IF EXISTS products;
|
||||
DROP TABLE IF EXISTS customers;
|
||||
DROP TABLE IF EXISTS suppliers;
|
||||
DROP TABLE IF EXISTS merchants;
|
||||
DROP TABLE IF EXISTS users;
|
@ -31,7 +31,7 @@ CREATE TABLE customers (
|
||||
"index_id" bigserial not null,
|
||||
"merchant_id" uuid references "merchants"("id") not null,
|
||||
"name" varchar not null,
|
||||
"detail" jsonb,
|
||||
"detail" jsonb[],
|
||||
|
||||
"created_at" timestamp default(now()),
|
||||
"updated_at" timestamp default(now())
|
||||
|
Loading…
Reference in New Issue
Block a user