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

Commit 101da2c5 authored by Administrator's avatar Administrator 🎨

Merge branch 'pre_change_galaxy' into 'master'

~opt;

See merge request !209
parents 55fa1f84 70f0da61
...@@ -107,31 +107,31 @@ create table goblin_user_digital_artwork ...@@ -107,31 +107,31 @@ create table goblin_user_digital_artwork
comment varchar(500) comment varchar(500)
) engine = InnoDB comment '用户数字藏品信息'; ) engine = InnoDB comment '用户数字藏品信息';
# -- >>------------------------------------------------------------------------------------ # -- >>------------------------------------------------------------------------------------
drop table if exists goblin_goods_sku_excode; # drop table if exists goblin_goods_sku_excode;
create table goblin_goods_sku_excode # create table goblin_goods_sku_excode
( # (
mid bigint auto_increment primary key, # mid bigint auto_increment primary key,
sku_id varchar(64) not null comment '单品ID', # sku_id varchar(64) not null comment '单品ID',
num int comment '生成数量', # num int comment '生成数量',
type tinyint comment '兑换码类型[0-普通商品|1-数字藏品|2-数字藏品盲盒]', # type tinyint comment '兑换码类型[0-普通商品|1-数字藏品|2-数字藏品盲盒]',
#
code varchar(64) not null comment '单品兑换码', # code varchar(64) not null comment '单品兑换码',
state tinyint default 0 comment '兑换码状态[0-未兑换|1-已兑换|10-用作生成模版]', # state tinyint default 0 comment '兑换码状态[0-未兑换|1-已兑换|10-用作生成模版]',
start_at datetime null comment '开始时间', # start_at datetime null comment '开始时间',
stop_at datetime null comment '截止时间', # stop_at datetime null comment '截止时间',
#
redeem_uid varchar(64) comment '兑换用户UID', # redeem_uid varchar(64) comment '兑换用户UID',
redeem_for varchar(128) comment '兑换内容描述', # redeem_for varchar(128) comment '兑换内容描述',
redeem_at datetime comment '兑换时间', # redeem_at datetime comment '兑换时间',
#
operator varchar(64), # operator varchar(64),
created_at datetime not null, # created_at datetime not null,
updated_at datetime null, # updated_at datetime null,
deleted_at datetime null, # deleted_at datetime null,
comment varchar(500) # comment varchar(500)
) engine = InnoDB comment '单品兑换码'; # ) engine = InnoDB comment '单品兑换码';
#
create index idx_ggse_sku_id on goblin_goods_sku_excode (sku_id); # create index idx_ggse_sku_id on goblin_goods_sku_excode (sku_id);
# -- >>------------------------------------------------------------------------------------ # -- >>------------------------------------------------------------------------------------
DROP TABLE IF EXISTS goblin_nft_order; DROP TABLE IF EXISTS goblin_nft_order;
......
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