标签:失败 状态 record sig char name 创建 current sign
create table order_ipad( id bigint(20) unsigned not null auto_increment,comment ‘自增主键‘, uuid bigint(20) unsigned not null default ‘0‘ comment ‘用户id‘, order_id varchar(64) not null default ‘‘ comment ‘订单id‘, name varchar(64) not null default ‘‘ comment ‘商品名称‘, type tinyint(4) unsigned not null default ‘0‘ comment ‘状态 1:增加 2:减少‘, price int(11) unsigned not null default ‘0‘ comment ‘钱‘, title varchar(64) not null default ‘‘ comment ‘标题‘, status tinyint(4) unsigned not null default ‘0‘ comment ‘状态 1:进行中 2:已完成 3:已退款 4:已失败 99:异常‘, source tinyint(4) unsigned not null default ‘0‘ comment ‘来源 1:任务系统 2:金币系统 3:活动系统‘, end_time bigint(20) unsigned not null default ‘0‘ comment ‘过期时间‘, record_time bigint(20) unsigned not null default ‘0‘ comment ‘记录发生时间‘, create_time bigint(20) unsigned not null default ‘0‘ comment ‘创建时间‘, refund_time bigint(20) unsigned not null default ‘0‘ comment ‘退款时间‘, update_time timestamp not null default current_timestamp on update current_timestamp comment ‘更新时间‘, primary key (id), unique key uk_orderid (order_id) , key idx_uuid_name (uuid,name(10)), key idx_uuid_title (uuid,record_title) )engine=innodb auto_increment=1 default charset=utf8mb4 comment=‘用户小游戏金币收支记录表‘;
标签:失败 状态 record sig char name 创建 current sign
原文地址:https://www.cnblogs.com/igoodful/p/12896037.html