mirror of
https://gitee.com/hhyykk/ipms-sjy.git
synced 2025-08-18 12:11:54 +08:00
商品分类代码生成
This commit is contained in:
@@ -0,0 +1 @@
|
||||
DELETE FROM "product_category";
|
@@ -0,0 +1,17 @@
|
||||
CREATE TABLE IF NOT EXISTS "product_category" (
|
||||
"id" bigint(20) NOT NULL GENERATED BY DEFAULT AS IDENTITY,
|
||||
"pid" bigint(20) NOT NULL,
|
||||
"name" varchar(255) NOT NULL,
|
||||
"icon" varchar(100),
|
||||
"banner_url" varchar(255) NOT NULL,
|
||||
"sort" int(11) NOT NULL,
|
||||
"description" varchar(1024) NOT NULL,
|
||||
"status" tinyint(4) NOT NULL,
|
||||
"creator" varchar(64) DEFAULT '',
|
||||
"create_time" datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
|
||||
"updater" varchar(64) DEFAULT '',
|
||||
"update_time" datetime NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
|
||||
"deleted" bit NOT NULL DEFAULT FALSE,
|
||||
"tenant_id" bigint(20) NOT NULL,
|
||||
PRIMARY KEY ("id")
|
||||
) COMMENT '商品分类';
|
Reference in New Issue
Block a user