You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

69 lines
2.0 KiB

2 years ago
1 month ago
2 years ago
1 month ago
2 years ago
1 month ago
2 months ago
2 years ago
2 years ago
1 month ago
2 years ago
1 month ago
2 years ago
1 month ago
2 years ago
  1. DROP TABLE IF EXISTS `cloud_config`;
  2. CREATE TABLE `cloud_config` (
  3. `key` varchar(32) NOT NULL,
  4. `value` varchar(255) DEFAULT NULL,
  5. PRIMARY KEY (`key`)
  6. ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
  7. INSERT INTO `cloud_config` (`key`, `value`) VALUES
  8. ('admin_username', 'admin'),
  9. ('admin_password', '123456'),
  10. ('bt_url', ''),
  11. ('bt_key', ''),
  12. ('whitelist', '0'),
  13. ('download_page', '1'),
  14. ('new_version', '9.4.0'),
  15. ('update_msg', '暂无更新日志'),
  16. ('update_date', '2025-01-09'),
  17. ('new_version_win', '8.2.2'),
  18. ('update_msg_win', '暂无更新日志'),
  19. ('update_date_win', '2024-12-30'),
  20. ('new_version_en', '7.0.13'),
  21. ('update_msg_en', '暂无更新日志'),
  22. ('update_date_en', '2024-11-17'),
  23. ('new_version_btm', '2.3.0'),
  24. ('update_msg_btm', '暂无更新日志'),
  25. ('update_date_btm', '2024-04-24'),
  26. ('updateall_type', '0'),
  27. ('syskey', 'UqP94LtI8eWAIgCP');
  28. DROP TABLE IF EXISTS `cloud_black`;
  29. CREATE TABLE `cloud_black` (
  30. `id` int(11) NOT NULL AUTO_INCREMENT,
  31. `ip` varchar(50) NOT NULL,
  32. `enable` tinyint(1) NOT NULL DEFAULT '1',
  33. `addtime` datetime NOT NULL,
  34. PRIMARY KEY (`id`),
  35. UNIQUE KEY `ip`(`ip`)
  36. ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
  37. DROP TABLE IF EXISTS `cloud_white`;
  38. CREATE TABLE `cloud_white` (
  39. `id` int(11) NOT NULL AUTO_INCREMENT,
  40. `ip` varchar(50) NOT NULL,
  41. `enable` tinyint(1) NOT NULL DEFAULT '1',
  42. `addtime` datetime NOT NULL,
  43. PRIMARY KEY (`id`),
  44. UNIQUE KEY `ip`(`ip`)
  45. ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
  46. DROP TABLE IF EXISTS `cloud_record`;
  47. CREATE TABLE `cloud_record` (
  48. `id` int(11) NOT NULL AUTO_INCREMENT,
  49. `ip` varchar(50) NOT NULL,
  50. `addtime` datetime NOT NULL,
  51. `usetime` datetime NOT NULL,
  52. PRIMARY KEY (`id`),
  53. UNIQUE KEY `ip`(`ip`)
  54. ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
  55. DROP TABLE IF EXISTS `cloud_log`;
  56. CREATE TABLE `cloud_log` (
  57. `id` int(11) NOT NULL AUTO_INCREMENT,
  58. `uid` tinyint(4) NOT NULL DEFAULT '1',
  59. `action` varchar(40) NOT NULL,
  60. `data` varchar(150) DEFAULT NULL,
  61. `addtime` datetime NOT NULL,
  62. PRIMARY KEY (`id`)
  63. ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;