记得上下班打卡 | git大法好,push需谨慎

Commit 573125f5 authored by 洪全海's avatar 洪全海

更新sql文件

parent 1df37f40
...@@ -222,7 +222,8 @@ create table adam_member ...@@ -222,7 +222,8 @@ create table adam_member
notice_title varchar(255), notice_title varchar(255),
need_question int default 0 comment '是否需要答题 0不需要 1需要', need_question int default 0 comment '是否需要答题 0不需要 1需要',
display_agreement int NOT NULL DEFAULT '0' COMMENT '是否打开0否1是', display_agreement int NOT NULL DEFAULT '0' COMMENT '是否打开0否1是',
agreement text NOT NULL COMMENT '会员协议' agreement text NOT NULL COMMENT '会员协议',
limitation int default 0 comment '限购数量,0不限购'
); );
-- >>------------------------------------------------------------------------------------ -- >>------------------------------------------------------------------------------------
drop table if exists adam_member_price; drop table if exists adam_member_price;
...@@ -230,7 +231,7 @@ create table adam_member_price ...@@ -230,7 +231,7 @@ create table adam_member_price
( (
mid int unsigned auto_increment primary key, mid int unsigned auto_increment primary key,
member_price_id varchar(255) comment '会员价格id', member_price_id varchar(255) comment '会员价格id',
member_id int NOT NULL COMMENT '会员种类ID', member_id varchar(255) NOT NULL comment '会员种类ID',
status tinyint NOT NULL DEFAULT '0' COMMENT '0不可用、1上线中、2已下线', status tinyint NOT NULL DEFAULT '0' COMMENT '0不可用、1上线中、2已下线',
name varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '' COMMENT '会员包名称', name varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '' COMMENT '会员包名称',
price decimal(8, 2) NOT NULL DEFAULT '0.00' COMMENT '会员包价格', price decimal(8, 2) NOT NULL DEFAULT '0.00' COMMENT '会员包价格',
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment