11
This commit is contained in:
1 parent
befc75593d
commit
c0fa58d2bc
19 files changed
+219
-2
No files matched your search
+3
-1
@@ -1,6 +1,7 @@
|
||||
CREATE TABLE IF NOT EXISTS "member_user"
|
||||
(
|
||||
"id" bigint NOT NULL GENERATED BY DEFAULT AS IDENTITY COMMENT '编号',
|
||||
"user_code" varchar(6) NULL COMMENT '用户 Code',
|
||||
"nickname" varchar(30) NOT NULL DEFAULT '' COMMENT '用户昵称',
|
||||
"name" varchar(30) NULL COMMENT '真实名字',
|
||||
sex tinyint null comment '性别',
|
||||
@@ -25,7 +26,8 @@ CREATE TABLE IF NOT EXISTS "member_user"
|
||||
"update_time" datetime NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT '更新时间',
|
||||
"deleted" bit(1) NOT NULL DEFAULT '0' COMMENT '是否删除',
|
||||
"tenant_id" bigint not null default '0',
|
||||
PRIMARY KEY ("id")
|
||||
PRIMARY KEY ("id"),
|
||||
UNIQUE ("user_code")
|
||||
) COMMENT '会员表';
|
||||
|
||||
CREATE TABLE IF NOT EXISTS "member_address" (
|
||||
|
||||
Reference in new issue
Block a user