by Robin at 20240122; vas_user_membership_unlock
This commit is contained in:
parent
851e62264f
commit
0839b0772a
|
@ -136,3 +136,15 @@ CREATE TABLE `vas_withdraw_order`
|
||||||
PRIMARY KEY (`id`)
|
PRIMARY KEY (`id`)
|
||||||
);
|
);
|
||||||
CREATE INDEX ix_mid_applytime ON vas_withdraw_order (mid, apply_time);
|
CREATE INDEX ix_mid_applytime ON vas_withdraw_order (mid, apply_time);
|
||||||
|
|
||||||
|
CREATE TABLE `vas_user_membership_unlock`
|
||||||
|
(
|
||||||
|
`id` bigint AUTO_INCREMENT COMMENT 'id',
|
||||||
|
`mid` bigint NOT NULL COMMENT '用户id',
|
||||||
|
`product_id` varchar(128) NOT NULL COMMENT '商品id',
|
||||||
|
`ct` bigint DEFAULT NULL COMMENT '时间',
|
||||||
|
`means` varchar(128) DEFAULT NULL COMMENT '解锁方式',
|
||||||
|
`order_id` varchar(128) DEFAULT NULL COMMENT '订单id',
|
||||||
|
PRIMARY KEY (`id`)
|
||||||
|
);
|
||||||
|
CREATE INDEX uni_idx_mid_product_id ON vas_user_unlock (mid, product_id);
|
Loading…
Reference in New Issue