From ebc96235e742bfcbeab21742e95ea6e5ad14798e Mon Sep 17 00:00:00 2001 From: Lemongrass3110 Date: Fri, 27 Mar 2020 10:47:28 +0100 Subject: [PATCH] Removed leftover interreg table (#4737) The usage of this table was removed in c0ed836 --- sql-files/main.sql | 12 +----------- sql-files/tools/convert_engine_innodb.sql | 1 - sql-files/tools/convert_engine_myisam.sql | 1 - sql-files/upgrades/upgrade_20200327.sql | 1 + 4 files changed, 2 insertions(+), 13 deletions(-) create mode 100644 sql-files/upgrades/upgrade_20200327.sql diff --git a/sql-files/main.sql b/sql-files/main.sql index 1d23654844..9d7df5d633 100644 --- a/sql-files/main.sql +++ b/sql-files/main.sql @@ -675,17 +675,7 @@ CREATE TABLE IF NOT EXISTS `interlog` ( `log` varchar(255) NOT NULL default '', PRIMARY KEY (`id`), INDEX `time` (`time`) -) ENGINE=MyISAM; - --- --- Table structure for table `interreg` --- - -CREATE TABLE IF NOT EXISTS `interreg` ( - `varname` varchar(11) NOT NULL, - `value` varchar(20) NOT NULL, - PRIMARY KEY (`varname`) -) ENGINE=InnoDB; +) ENGINE=MyISAM; -- -- Table structure for table `inventory` diff --git a/sql-files/tools/convert_engine_innodb.sql b/sql-files/tools/convert_engine_innodb.sql index e9c276ece6..80b5f6c681 100644 --- a/sql-files/tools/convert_engine_innodb.sql +++ b/sql-files/tools/convert_engine_innodb.sql @@ -38,7 +38,6 @@ ALTER TABLE `guild_storage_log` ENGINE = InnoDB; ALTER TABLE `homunculus` ENGINE = InnoDB; ALTER TABLE `hotkey` ENGINE = InnoDB; ALTER TABLE `interlog` ENGINE = InnoDB; -ALTER TABLE `interreg` ENGINE = InnoDB; ALTER TABLE `inventory` ENGINE = InnoDB; ALTER TABLE `ipbanlist` ENGINE = InnoDB; #ALTER TABLE `item_cash_db` ENGINE = InnoDB; diff --git a/sql-files/tools/convert_engine_myisam.sql b/sql-files/tools/convert_engine_myisam.sql index 4cd169eb58..6ec23d0f88 100644 --- a/sql-files/tools/convert_engine_myisam.sql +++ b/sql-files/tools/convert_engine_myisam.sql @@ -38,7 +38,6 @@ ALTER TABLE `guild_storage_log` ENGINE = MyISAM; ALTER TABLE `homunculus` ENGINE = MyISAM; ALTER TABLE `hotkey` ENGINE = MyISAM; ALTER TABLE `interlog` ENGINE = MyISAM; -ALTER TABLE `interreg` ENGINE = MyISAM; ALTER TABLE `inventory` ENGINE = MyISAM; ALTER TABLE `ipbanlist` ENGINE = MyISAM; #ALTER TABLE `item_cash_db` ENGINE = MyISAM; diff --git a/sql-files/upgrades/upgrade_20200327.sql b/sql-files/upgrades/upgrade_20200327.sql new file mode 100644 index 0000000000..d4adfea53f --- /dev/null +++ b/sql-files/upgrades/upgrade_20200327.sql @@ -0,0 +1 @@ +DROP TABLE `interreg`;