by Robin at 20240122; vas_user_membership_unlock

This commit is contained in:
Leufolium 2024-01-22 14:32:43 +08:00
parent 851e62264f
commit 0839b0772a
1 changed files with 12 additions and 0 deletions

View File

@ -136,3 +136,15 @@ CREATE TABLE `vas_withdraw_order`
PRIMARY KEY (`id`)
);
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);