mirror of
https://gitee.com/hhyykk/ipms-sjy.git
synced 2025-08-19 04:31:53 +08:00
mall:完善商品品牌的前后端实现
This commit is contained in:
@@ -16,9 +16,8 @@ CREATE TABLE IF NOT EXISTS "product_category" (
|
||||
|
||||
CREATE TABLE IF NOT EXISTS "product_brand" (
|
||||
"id" bigint(20) NOT NULL GENERATED BY DEFAULT AS IDENTITY,
|
||||
"category_id" bigint(20) NOT NULL,
|
||||
"name" varchar(255) NOT NULL,
|
||||
"banner_url" varchar(255) NOT NULL,
|
||||
"pic_url" varchar(255) NOT NULL,
|
||||
"sort" int(11),
|
||||
"description" varchar(1024),
|
||||
"status" tinyint(4) NOT NULL,
|
||||
@@ -28,4 +27,4 @@ CREATE TABLE IF NOT EXISTS "product_brand" (
|
||||
"update_time" datetime NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
|
||||
"deleted" bit NOT NULL DEFAULT FALSE,
|
||||
PRIMARY KEY ("id")
|
||||
) COMMENT '品牌';
|
||||
) COMMENT '商品品牌';
|
||||
|
Reference in New Issue
Block a user