Merge branch 'feat-IRONFANS-70' into test
This commit is contained in:
commit
e8aac064a1
|
@ -199,11 +199,13 @@ CREATE TABLE `vas_zone_unlock`
|
|||
`superfanship_unlock_type` int DEFAULT 0 COMMENT '超粉解锁类型',
|
||||
PRIMARY KEY (`id`)
|
||||
);
|
||||
CREATE INDEX ix_mid_zid ON vas_zone_unlock (mid,zid);
|
||||
CREATE INDEX ix_zid ON vas_zone_unlock (zid);
|
||||
|
||||
-- 空间消费详情
|
||||
CREATE TABLE `vas_zone_ch`
|
||||
(
|
||||
`id` bigint AUTO_INCREMENT COMMENT 'id',
|
||||
`id` bigint NOT NULL AUTO_INCREMENT COMMENT 'id',
|
||||
`mid` bigint NOT NULL COMMENT '用户id',
|
||||
`zid` bigint NOT NULL COMMENT '空间id',
|
||||
`consume` bigint DEFAULT 0 COMMENT '单笔消费',
|
||||
|
@ -212,22 +214,26 @@ CREATE TABLE `vas_zone_ch`
|
|||
`product_id` varchar(128) DEFAULT NULL COMMENT '商品id',
|
||||
PRIMARY KEY (`id`)
|
||||
);
|
||||
CREATE INDEX ix_mid_zid ON vas_zone_ch (mid,zid);
|
||||
CREATE INDEX ix_zid ON vas_zone_ch (zid);
|
||||
|
||||
-- 空间成员列表
|
||||
CREATE TABLE `vas_zone_member`
|
||||
(
|
||||
`id` bigint AUTO_INCREMENT COMMENT 'id',
|
||||
`id` bigint NOT NULL AUTO_INCREMENT COMMENT 'id',
|
||||
`mid` bigint NOT NULL COMMENT '用户id',
|
||||
`zid` bigint NOT NULL COMMENT '空间id',
|
||||
`member_type` int DEFAULT 0 COMMENT '空间成员类型',
|
||||
`ct` bigint DEFAULT 0 COMMENT '解锁时间',
|
||||
PRIMARY KEY (`id`)
|
||||
);
|
||||
CREATE INDEX ix_mid_zid_member_type ON vas_zone_member (mid,zid,member_type);
|
||||
CREATE INDEX ix_zid_member_type ON vas_zone_member (zid,member_type);
|
||||
|
||||
-- 空间动态解锁
|
||||
CREATE TABLE `vas_zone_moment_unlock`
|
||||
(
|
||||
`id` bigint AUTO_INCREMENT COMMENT 'id',
|
||||
`id` bigint NOT NULL AUTO_INCREMENT COMMENT 'id',
|
||||
`mid` bigint NOT NULL COMMENT '用户id',
|
||||
`zid` bigint NOT NULL COMMENT '空间id',
|
||||
`moment_id` bigint NOT NULL COMMENT '动态id',
|
||||
|
@ -236,6 +242,8 @@ CREATE TABLE `vas_zone_moment_unlock`
|
|||
`order_id` varchar(128) DEFAULT NULL COMMENT '绑定的订单id',
|
||||
PRIMARY KEY (`id`)
|
||||
);
|
||||
CREATE INDEX ix_mid_zid_moment_id ON vas_zone_moment_unlock (mid,zid,moment_id);
|
||||
CREATE INDEX ix_mid_moment_id ON vas_zone_moment_unlock (mid,moment_id);
|
||||
|
||||
-- 空间退款记录
|
||||
CREATE TABLE `vas_zone_refund_his`
|
||||
|
|
Loading…
Reference in New Issue