From 4419030b1ad65e07f21e0bd196276fa36f566768 Mon Sep 17 00:00:00 2001 From: ELF <360197197@qq.com> Date: Mon, 15 Jun 2020 11:49:54 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E6=8E=A8=E5=B9=BF=E9=99=90?= =?UTF-8?q?=E5=88=B6sql?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Data/update.sql | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/Data/update.sql b/Data/update.sql index 57205c85b..770f8ea6d 100644 --- a/Data/update.sql +++ b/Data/update.sql @@ -1753,3 +1753,14 @@ ADD COLUMN `old_change_promote_account` varchar(30) NULL COMMENT '修改配置 --聚合渠道结算单 zyx 20200515 INSERT INTO `tab_tool`( `name`, `title`, `config`, `template`, `type`, `status`, `create_time`) VALUES ('juhedata', '聚合数据', '{\"tpl_id\":\"215303\",\"key\":\"1aa07a33b6d6408e835e416fafcd6f22\",\"limit\":\"\",\"status\":\"1\"}', NULL, 1, 1, 1589361782); INSERT INTO `tab_tool`( `name`, `title`, `config`, `template`, `type`, `status`, `create_time`) VALUES ('juhe_age', '聚合身份认证', '{\"appkey\":\"80427f4769c6938f12a870f51014ddbe\",\"status\":\"1\"}', NULL, 1, 1, 1464164373); + +-- 推广规则限制 elf 20200615 +CREATE TABLE `tab_promote_limit_rules` ( + `id` int(11) unsigned NOT NULL AUTO_INCREMENT, + `promote_id` int(11) NOT NULL COMMENT '会长ID', + `started_at` date DEFAULT NULL COMMENT '开始时间', + `ended_at` date DEFAULT NULL COMMENT '结束时间', + `created_at` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP, + `updated_at` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP, + PRIMARY KEY (`id`) +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin; \ No newline at end of file