安全中心数据表结构

master
sunke 5 years ago
parent dbf113d9d4
commit 62054af7df

@ -299,3 +299,27 @@ CREATE TABLE `tab_spend_user_count` (
KEY `level` (`level`) USING BTREE,
KEY `count_date` (`count_date`) USING BTREE
) ENGINE=MyISAM AUTO_INCREMENT=1 DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC COMMENT='流水角色聚合表';
--downloadlog
DROP TABLE IF EXISTS `tab_downloadlog`;
CREATE TABLE IF NOT EXISTS `tab_downloadlog` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`logid` varchar(254) NOT NULL DEFAULT '0' COMMENT '日志id',
`admin_id` int(11) NOT NULL DEFAULT '0' COMMENT '推广者|管理员id',
`type` varchar(254) NOT NULL DEFAULT '0' COMMENT '下载控制器地址',
`dataname` varchar(254) NOT NULL DEFAULT '0' COMMENT '导出数据名称',
`status` int(11) NOT NULL DEFAULT '0' COMMENT '下载状态 0未下载 1已下载',
`addtime` int(11) NOT NULL DEFAULT '0' COMMENT '添加下载时间戳',
`begintime` int(11) NOT NULL DEFAULT '0' COMMENT '开始下载时间戳',
`content` mediumtext COMMENT '备注内容',
`conditions` varchar(1024) DEFAULT '[]' COMMENT '下载筛选条件',
PRIMARY KEY (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=220 DEFAULT CHARSET=utf8 COMMENT='下载管理日志';
ALTER TABLE `tab_promote`
ADD COLUMN `ver_status` TINYINT(2) NULL DEFAULT NULL COMMENT '资质认证审核状态(1是审核成功2审核失败3未审核)' AFTER `child_game_permission`,
ADD COLUMN `idcarpic` CHAR(253) NULL DEFAULT NULL COMMENT '身份证证件照' AFTER `ver_status`,
ADD COLUMN `businesspic` CHAR(253) NULL DEFAULT NULL COMMENT '营业执照' AFTER `idcarpic`,
ADD COLUMN `agreementpic` CHAR(253) NULL DEFAULT NULL COMMENT '合同' AFTER `businesspic`,
ADD COLUMN `address` VARCHAR(520) NULL DEFAULT NULL COMMENT '住址' AFTER `agreementpic`,
ADD COLUMN `account_type` INT(11) NULL DEFAULT NULL COMMENT '(1为公司2为个人)' AFTER `address`;
Loading…
Cancel
Save