This commit is contained in:
2026-02-05 19:17:43 +08:00
parent a389a7c5cd
commit c822959a24
4 changed files with 70 additions and 14 deletions

View File

@@ -9,14 +9,14 @@ CREATE TABLE mall_product
attribute text[] DEFAULT '' NOT NULL,
unit VARCHAR(12),
category_id int8 DEFAULT '' NOT NULL,
category_ids VARCHAR(255) DEFAULT '' NOT NULL,
category_ids bigint[] DEFAULT '' NOT NULL,
cost_price DECIMAL(10, 2) DEFAULT 0.00 NOT NULL,
original_price DECIMAL(10, 2) DEFAULT 0.00 NOT NULL,
retail_price DECIMAL(10, 2) DEFAULT 0.00 NOT NULL,
profit DECIMAL(10, 2) DEFAULT 0.00 NOT NULL,
sales int4 DEFAULT 0 NOT NULL,
spu_qty int4 DEFAULT 0 NOT NULL,
tags text DEFAULT '' NOT NULL,
tags text[] DEFAULT '' NOT NULL,
status int4 DEFAULT 0 NULL,
create_user int8 NULL,
create_dept int8 NULL,