sfcnr/gamemodes/irresistible/config/migrations/cnr/20190530_cnr_realestate_ask.sql

8 lines
293 B
MySQL
Raw Permalink Normal View History

2019-05-30 14:41:27 +00:00
-- CREATE A MIGRATION ENTRY
INSERT INTO `DB_MIGRATIONS` (`MIGRATION`) VALUES ('20190530_cnr_realestate_ask');
-- BEGIN
-- -- ALTER COLUMN TO BE INT INSTEAD OF FLOAT
2019-05-31 09:45:38 +00:00
ALTER TABLE `HOUSE_LISTINGS` CHANGE COLUMN `ASK` `ASK` INT NULL DEFAULT NULL AFTER `USER_ID`;
TRUNCATE TABLE `HOUSE_LISTINGS`;