From 0839b0772aa1a5aba259beb97ec16a5f686ad167 Mon Sep 17 00:00:00 2001 From: Leufolium Date: Mon, 22 Jan 2024 14:32:43 +0800 Subject: [PATCH] by Robin at 20240122; vas_user_membership_unlock --- dbstruct/vas.sql | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/dbstruct/vas.sql b/dbstruct/vas.sql index 49c70407..f27f9653 100644 --- a/dbstruct/vas.sql +++ b/dbstruct/vas.sql @@ -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); \ No newline at end of file