2.4升级到2.4.2增量mysql.sql 1.7 KB

12345678910111213141516171819202122232425262728
  1. INSERT INTO SYS_DICT_ITEM(ID, DICT_ID, ITEM_TEXT, ITEM_VALUE, DESCRIPTION, SORT_ORDER, STATUS, CREATE_BY, CREATE_TIME, UPDATE_BY, UPDATE_TIME) VALUES ('1334440962954936321', '1209733563293962241', 'MYSQL5.7', '4', NULL, '1', '1', 'admin', '2020-12-03 18:16:02', 'admin', '2020-12-03 18:16:02');
  2. UPDATE SYS_DICT_ITEM SET ITEM_TEXT = 'MySQL5.5' WHERE ID = '1209733775114702850';
  3. UPDATE SYS_DICT_ITEM SET SORT_ORDER = '3' WHERE ID = '1209733839933476865';
  4. UPDATE SYS_DICT_ITEM SET SORT_ORDER = '4' WHERE ID = '1209733903020003330';
  5. ALTER TABLE `sys_gateway_route`
  6. CHANGE COLUMN `persist` `persistable` int(3) NULL DEFAULT NULL COMMENT '是否为保留数据:0-否 1-是' AFTER `strip_prefix`;
  7. DROP TABLE IF EXISTS `test_online_link`;
  8. CREATE TABLE `test_online_link` (
  9. `id` varchar(32) NOT NULL,
  10. `pid` varchar(32) DEFAULT NULL COMMENT 'pid',
  11. `name` varchar(255) DEFAULT NULL COMMENT 'name',
  12. PRIMARY KEY (`id`)
  13. ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
  14. INSERT INTO `test_online_link` VALUES ('1', NULL, '中国');
  15. INSERT INTO `test_online_link` VALUES ('10', '8', '庐阳区');
  16. INSERT INTO `test_online_link` VALUES ('11', '7', '黄山市');
  17. INSERT INTO `test_online_link` VALUES ('2', '1', '山东省');
  18. INSERT INTO `test_online_link` VALUES ('3', '2', '济南市');
  19. INSERT INTO `test_online_link` VALUES ('4', '3', '历城区');
  20. INSERT INTO `test_online_link` VALUES ('5', '3', '长青区');
  21. INSERT INTO `test_online_link` VALUES ('6', '2', '青岛市');
  22. INSERT INTO `test_online_link` VALUES ('7', '1', '安徽省');
  23. INSERT INTO `test_online_link` VALUES ('8', '7', '合肥市');
  24. INSERT INTO `test_online_link` VALUES ('9', '8', '包河区');
  25. update ONL_CGFORM_FIELD set DB_TYPE = 'Date' WHERE DB_TYPE = 'date';