会员:

1.增加会员标签功能
This commit is contained in:
owen
2023-08-18 18:52:27 +08:00
parent a4e2cacc46
commit 9b6e2114c7
18 changed files with 764 additions and 0 deletions

View File

@ -1,2 +1,3 @@
DELETE FROM "member_user";
DELETE FROM "member_address";
DELETE FROM "member_tag";

View File

@ -33,3 +33,15 @@ CREATE TABLE IF NOT EXISTS "member_address" (
PRIMARY KEY ("id")
) COMMENT '用户收件地址';
CREATE TABLE IF NOT EXISTS "member_tag"
(
"id" bigint NOT NULL GENERATED BY DEFAULT AS IDENTITY,
"name" varchar NOT NULL,
"creator" varchar DEFAULT '',
"create_time" datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
"updater" varchar DEFAULT '',
"update_time" datetime NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
"deleted" bit NOT NULL DEFAULT FALSE,
"tenant_id" bigint NOT NULL default '0',
PRIMARY KEY ("id")
) COMMENT '会员标签';