diff --git a/gamemodes/irresistible/config/migrations/cnr/20190405_cnr_chat_ban_creation.sql b/gamemodes/irresistible/config/migrations/cnr/20190405_cnr_chat_ban_creation.sql index 697b008..f69ef5d 100644 --- a/gamemodes/irresistible/config/migrations/cnr/20190405_cnr_chat_ban_creation.sql +++ b/gamemodes/irresistible/config/migrations/cnr/20190405_cnr_chat_ban_creation.sql @@ -1,7 +1,7 @@ -- CREATE A MIGRATION ENTRY INSERT INTO `DB_MIGRATIONS` (`MIGRATION`) VALUES ('20190405_cnr_chat_ban_creation'); ---BEGIN +-- BEGIN -- CREATE TABLE CREATE TABLE IF NOT EXISTS `CHAT_BANS` ( diff --git a/gamemodes/irresistible/config/migrations/cnr/20190530_cnr_realestate_ask.sql b/gamemodes/irresistible/config/migrations/cnr/20190530_cnr_realestate_ask.sql index a37c1b8..0e145e5 100644 --- a/gamemodes/irresistible/config/migrations/cnr/20190530_cnr_realestate_ask.sql +++ b/gamemodes/irresistible/config/migrations/cnr/20190530_cnr_realestate_ask.sql @@ -4,4 +4,5 @@ INSERT INTO `DB_MIGRATIONS` (`MIGRATION`) VALUES ('20190530_cnr_realestate_ask') -- BEGIN -- -- ALTER COLUMN TO BE INT INSTEAD OF FLOAT -ALTER TABLE `house_listings` CHANGE COLUMN `ASK` `ASK` INT NULL DEFAULT NULL AFTER `USER_ID`; \ No newline at end of file +ALTER TABLE `HOUSE_LISTINGS` CHANGE COLUMN `ASK` `ASK` INT NULL DEFAULT NULL AFTER `USER_ID`; +TRUNCATE TABLE `HOUSE_LISTINGS`; \ No newline at end of file