Commit 013e8262 authored by zhangfeng's avatar zhangfeng

Merge branch 'release-fix-zhangfeng' into 'release'

chore: sql更新

See merge request !16
parents 2de7268e d638fdaa
...@@ -11,7 +11,7 @@ ...@@ -11,7 +11,7 @@
Target Server Version : 80031 (8.0.31) Target Server Version : 80031 (8.0.31)
File Encoding : 65001 File Encoding : 65001
Date: 15/08/2024 11:04:17 Date: 06/09/2024 11:23:57
*/ */
SET NAMES utf8mb4; SET NAMES utf8mb4;
...@@ -23,6 +23,7 @@ SET FOREIGN_KEY_CHECKS = 0; ...@@ -23,6 +23,7 @@ SET FOREIGN_KEY_CHECKS = 0;
DROP TABLE IF EXISTS `score_rule`; DROP TABLE IF EXISTS `score_rule`;
CREATE TABLE `score_rule` ( CREATE TABLE `score_rule` (
`id` bigint NOT NULL AUTO_INCREMENT COMMENT '主键', `id` bigint NOT NULL AUTO_INCREMENT COMMENT '主键',
`code` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '规则编号',
`type` int NOT NULL COMMENT '指标类型', `type` int NOT NULL COMMENT '指标类型',
`title_zh` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '规则标题中文', `title_zh` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '规则标题中文',
`title_en` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NOT NULL COMMENT '规则标题英文', `title_en` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NOT NULL COMMENT '规则标题英文',
...@@ -46,6 +47,6 @@ CREATE TABLE `score_rule` ( ...@@ -46,6 +47,6 @@ CREATE TABLE `score_rule` (
`updater` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '更新者', `updater` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '更新者',
`deleted` bit(1) NOT NULL DEFAULT b'0' COMMENT '是否删除', `deleted` bit(1) NOT NULL DEFAULT b'0' COMMENT '是否删除',
PRIMARY KEY (`id`) USING BTREE PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 42 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci ROW_FORMAT = DYNAMIC; ) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci ROW_FORMAT = DYNAMIC;
SET FOREIGN_KEY_CHECKS = 1; SET FOREIGN_KEY_CHECKS = 1;
...@@ -11,7 +11,7 @@ ...@@ -11,7 +11,7 @@
Target Server Version : 80031 (8.0.31) Target Server Version : 80031 (8.0.31)
File Encoding : 65001 File Encoding : 65001
Date: 15/08/2024 11:17:08 Date: 06/09/2024 11:26:34
*/ */
SET NAMES utf8mb4; SET NAMES utf8mb4;
...@@ -23,6 +23,7 @@ SET FOREIGN_KEY_CHECKS = 0; ...@@ -23,6 +23,7 @@ SET FOREIGN_KEY_CHECKS = 0;
DROP TABLE IF EXISTS `ecw_reward_redeem`; DROP TABLE IF EXISTS `ecw_reward_redeem`;
CREATE TABLE `ecw_reward_redeem` ( CREATE TABLE `ecw_reward_redeem` (
`id` bigint NOT NULL COMMENT '主键', `id` bigint NOT NULL COMMENT '主键',
`redemption_number` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '兑换记录编号',
`member_id` bigint NOT NULL COMMENT '会员id', `member_id` bigint NOT NULL COMMENT '会员id',
`reward_id` bigint NOT NULL COMMENT '礼品id', `reward_id` bigint NOT NULL COMMENT '礼品id',
`status` int NULL DEFAULT NULL COMMENT '兑换状态', `status` int NULL DEFAULT NULL COMMENT '兑换状态',
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment