sfcnr/gamemodes/irresistible/config/migrations/cnr/20190530_cnr_realestate_ask.sql
2019-05-31 19:45:38 +10:00

8 lines
293 B
SQL

-- CREATE A MIGRATION ENTRY
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`;
TRUNCATE TABLE `HOUSE_LISTINGS`;