Browse Source

修改数据库日志

Ben 9 months ago
parent
commit
dab03759ce
1 changed files with 5 additions and 0 deletions
  1. 5 0
      sql/mysql/建空库SQL/6_20240412.sql

+ 5 - 0
sql/mysql/建空库SQL/6_20240412.sql

@@ -83,6 +83,11 @@ CREATE TABLE `distri_user_sign_in_log`  (
 ) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci COMMENT = '用户签到日志表' ROW_FORMAT = Dynamic;
 
 
+ALTER TABLE `distri_pt_profit_log` ADD COLUMN `max_available_points_amount` BIGINT ( 11 ) DEFAULT NULL COMMENT '最大可用积分变化值' AFTER `after_freeze_amount`,
+ADD COLUMN `after_max_available_points_amount` BIGINT ( 11 ) DEFAULT NULL COMMENT '最大可用积分额度' AFTER `max_available_points_amount`,
+ADD COLUMN `accumulated_quota_amount` BIGINT ( 11 ) DEFAULT NULL COMMENT '合赢奖超出额度' AFTER `after_max_available_points_amount`,
+ADD COLUMN `ancestor_quota_amount` BIGINT ( 11 ) DEFAULT NULL COMMENT '直推奖超出额度' AFTER `accumulated_quota_amount`;
+
 -- 增加 会员签到表
 /*
 CREATE TABLE `distri_sign_in`  (