From 1a6f4f2178a47ad20b40425f71f158d5cd243867 Mon Sep 17 00:00:00 2001 From: yulingwei <2436953959@qq.com> Date: Thu, 9 Jan 2020 17:10:28 +0800 Subject: [PATCH] sql --- Data/update.sql | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/Data/update.sql b/Data/update.sql index 391c988f2..ce886ca4c 100644 --- a/Data/update.sql +++ b/Data/update.sql @@ -915,4 +915,18 @@ ADD COLUMN `beta_url` varchar(150) NOT NULL DEFAULT '' COMMENT 'Beta链接'; -- 游戏支付方式渠道配置 ALTER TABLE `tab_game` -ADD COLUMN `pay_config` varchar(255) NOT NULL COMMENT '支付渠道 wx 微信 zfb 支付宝 quick 快捷 (gf 官方 sq 双乾'; \ No newline at end of file +ADD COLUMN `pay_config` varchar(255) NOT NULL COMMENT '支付渠道 wx 微信 zfb 支付宝 quick 快捷 (gf 官方 sq 双乾'; + +-- 平台规则 +CREATE TABLE `sys_document_pop_rules` ( + `id` int(11) unsigned NOT NULL AUTO_INCREMENT COMMENT '平台规则表', + `title` varchar(100) COLLATE utf8mb4_bin NOT NULL DEFAULT '', + `desc` varchar(255) COLLATE utf8mb4_bin NOT NULL DEFAULT '' COMMENT '描述', + `content` text COLLATE utf8mb4_bin, + `sort` smallint(3) unsigned NOT NULL DEFAULT '0' COMMENT '权重', + `type` tinyint(1) unsigned NOT NULL DEFAULT '0' COMMENT '类型 0不弹窗 1弹出单次 2循环弹出', + `pop_time` int(11) unsigned NOT NULL DEFAULT '0' COMMENT '弹窗时间', + `operate_time` int(11) unsigned NOT NULL DEFAULT '0' COMMENT '操作时间', + `operater_id` int(11) unsigned NOT NULL DEFAULT '0' COMMENT '操作者ID', + PRIMARY KEY (`id`) +) ENGINE=InnoDB AUTO_INCREMENT=9 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;