Commit 148dcd13be150c732314fa4369392464a3f41ef9

Authored by 王家文
1 parent 8a1eb845
Exists in master and in 1 other branch dev-wjw

refactor: orm重构

conf/conf/db/s_cardholder_data_.sql
@@ -1,8 +0,0 @@ @@ -1,8 +0,0 @@
1 -CREATE TABLE `{tablename}` (  
2 - `uid` bigint(20) NOT NULL COMMENT '玩家唯一ID',  
3 - `activity_id` bigint(20) NOT NULL DEFAULT 0 COMMENT '活动ID',  
4 - `details_text` longtext CHARACTER SET latin1 COLLATE latin1_swedish_ci NOT NULL COMMENT '活动详情封装',  
5 - `create_time` bigint(20) NOT NULL DEFAULT 0 COMMENT '创建时间戳',  
6 - `update_time` bigint(20) NOT NULL DEFAULT 0 COMMENT '修改时间戳',  
7 - PRIMARY KEY (`uid`) USING BTREE  
8 -) ENGINE = InnoDB CHARACTER SET = utf8mb4 COMMENT = '卡包卡牌数据';  
9 \ No newline at end of file 0 \ No newline at end of file
conf/conf/db/s_cardholder_record_open_.sql
@@ -1,13 +0,0 @@ @@ -1,13 +0,0 @@
1 -CREATE TABLE `{tablename}` (  
2 - `id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT '日志ID',  
3 - `uid` bigint(20) NOT NULL DEFAULT 0 COMMENT '玩家唯一ID',  
4 - `sequence_id` varchar(255) NOT NULL DEFAULT '' COMMENT '用户序列组ID',  
5 - `cohort` varchar(255) NOT NULL DEFAULT '' COMMENT '用户分组ID',  
6 - `activity_id` bigint(20) NOT NULL DEFAULT 0 COMMENT '活动ID',  
7 - `round` int(11) NOT NULL DEFAULT 0 COMMENT '活动轮次',  
8 - `cardholder_id` int(11) NOT NULL DEFAULT 0 COMMENT '卡包ID',  
9 - `card_list` varchar(255) NOT NULL DEFAULT '' COMMENT '开卡内容',  
10 - `create_time` bigint(20) NOT NULL DEFAULT 0 COMMENT '创建时间戳',  
11 - `update_time` bigint(20) NOT NULL DEFAULT 0 COMMENT '修改时间戳',  
12 - PRIMARY KEY (`id`) USING BTREE  
13 -) ENGINE = InnoDB CHARACTER SET = utf8mb4 COMMENT = '开卡包活动日志开卡包';  
14 \ No newline at end of file 0 \ No newline at end of file
conf/conf/db/s_cardholder_record_rewardalbum_.sql
@@ -1,13 +0,0 @@ @@ -1,13 +0,0 @@
1 -CREATE TABLE `{tablename}` (  
2 - `id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT '日志ID',  
3 - `uid` bigint(20) NOT NULL DEFAULT 0 COMMENT '玩家唯一ID',  
4 - `sequence_id` varchar(255) NOT NULL DEFAULT '' COMMENT '用户序列组ID',  
5 - `cohort` varchar(255) NOT NULL DEFAULT '' COMMENT '用户分组ID',  
6 - `activity_id` bigint(20) NOT NULL DEFAULT 0 COMMENT '活动ID',  
7 - `round` int(11) NOT NULL DEFAULT 0 COMMENT '活动轮次',  
8 - `album_id` varchar(255) NOT NULL DEFAULT '' COMMENT '卡组ID',  
9 - `award` varchar(255) NOT NULL DEFAULT '' COMMENT '奖励内容',  
10 - `create_time` bigint(20) NOT NULL DEFAULT 0 COMMENT '创建时间戳',  
11 - `update_time` bigint(20) NOT NULL DEFAULT 0 COMMENT '修改时间戳',  
12 - PRIMARY KEY (`id`) USING BTREE  
13 -) ENGINE = InnoDB CHARACTER SET = utf8mb4 COMMENT = '开卡包活动日志领取卡组奖励';  
14 \ No newline at end of file 0 \ No newline at end of file
conf/conf/db/s_cardholder_record_rewardround_.sql
@@ -1,12 +0,0 @@ @@ -1,12 +0,0 @@
1 -CREATE TABLE `{tablename}` (  
2 - `id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT '日志ID',  
3 - `uid` bigint(20) NOT NULL DEFAULT 0 COMMENT '玩家唯一ID',  
4 - `sequence_id` varchar(255) NOT NULL DEFAULT '' COMMENT '用户序列组ID',  
5 - `cohort` varchar(255) NOT NULL DEFAULT '' COMMENT '用户分组ID',  
6 - `activity_id` bigint(20) NOT NULL DEFAULT 0 COMMENT '活动ID',  
7 - `round` int(11) NOT NULL DEFAULT 0 COMMENT '活动轮次',  
8 - `award` varchar(255) NOT NULL DEFAULT '' COMMENT '奖励内容',  
9 - `create_time` bigint(20) NOT NULL DEFAULT 0 COMMENT '创建时间戳',  
10 - `update_time` bigint(20) NOT NULL DEFAULT 0 COMMENT '修改时间戳',  
11 - PRIMARY KEY (`id`) USING BTREE  
12 -) ENGINE = InnoDB CHARACTER SET = utf8mb4 COMMENT = '开卡包活动日志领取轮次奖励';  
13 \ No newline at end of file 0 \ No newline at end of file