|
|
|
@ -454,3 +454,29 @@ ALTER TABLE `tab_promote`
|
|
|
|
|
CHANGE COLUMN `ver_status` `ver_status` INT(11) NULL DEFAULT '0' COMMENT '资质认证审核状态(1是审核成功,2审核失败,3未审核,4修改认证)' AFTER `child_game_permission`,
|
|
|
|
|
ADD COLUMN `anothpic` CHAR(254) NULL DEFAULT NULL AFTER `account_type`;
|
|
|
|
|
>>>>>>> 05bb9b4aa3ba712199e5489f684bc7a8cfeb59c8
|
|
|
|
|
|
|
|
|
|
-- 2019-11-20 zyx
|
|
|
|
|
DROP TABLE IF EXISTS `tab_device_statistics`;
|
|
|
|
|
CREATE TABLE `tab_device_statistics` (
|
|
|
|
|
`id` int(11) NOT NULL AUTO_INCREMENT,
|
|
|
|
|
`time` int(11) NOT NULL DEFAULT 0 COMMENT '日期时间戳',
|
|
|
|
|
`new_device` int(11) NOT NULL DEFAULT 0 COMMENT '当日新增设备',
|
|
|
|
|
`active_device` int(11) NOT NULL DEFAULT 0 COMMENT '当日活跃设备',
|
|
|
|
|
`today_new_device` longtext CHARACTER SET utf8 COLLATE utf8_unicode_ci NULL COMMENT '当日新增设备按小时划分的json字符串',
|
|
|
|
|
`today_active_device` longtext CHARACTER SET utf8 COLLATE utf8_unicode_ci NULL COMMENT '当日活跃设备按小时划分的json字符串',
|
|
|
|
|
`today_model_device` longtext CHARACTER SET utf8 COLLATE utf8_unicode_ci NULL COMMENT '当日启动机型(机型,系统,数量)',
|
|
|
|
|
`model` longtext CHARACTER SET utf8 COLLATE utf8_unicode_ci NULL COMMENT '当日启动设备',
|
|
|
|
|
`version` int(11) NOT NULL DEFAULT 1 COMMENT '机型',
|
|
|
|
|
`duration7` int(255) NOT NULL DEFAULT 0 COMMENT '七天的平均使用时间',
|
|
|
|
|
PRIMARY KEY (`id`) USING BTREE,
|
|
|
|
|
INDEX `time`(`time`) USING BTREE
|
|
|
|
|
) ENGINE = MyISAM AUTO_INCREMENT = 163 CHARACTER SET = utf8 COLLATE = utf8_unicode_ci ROW_FORMAT = Dynamic;
|
|
|
|
|
|
|
|
|
|
SET FOREIGN_KEY_CHECKS = 1;
|
|
|
|
|
ALTER TABLE `platform`.`tab_device_record`
|
|
|
|
|
ADD INDEX `create_time`(`create_time`) USING BTREE,
|
|
|
|
|
ADD INDEX `unique_code`(`unique_code`) USING BTREE,
|
|
|
|
|
ADD INDEX `idx_unique_version`(`version`, `unique_code`) USING BTREE,
|
|
|
|
|
ADD INDEX `version`(`version`) USING BTREE;
|
|
|
|
|
UPDATE `platform_new`.`tab_quick_menu` SET `url` = '/index.php?s=/Home/TestResource/index.html' WHERE `id` = 11
|
|
|
|
|
UPDATE `platform_new`.`tab_quick_menu` SET `url` = '/index.php?s=/Home/TestResource/lists.html' WHERE `id` = 12
|
|
|
|
|