diff --git a/data/migrations/31.lua b/data/migrations/31.lua index aab0ea1e..19813270 100644 --- a/data/migrations/31.lua +++ b/data/migrations/31.lua @@ -8,11 +8,11 @@ function onUpdateDatabase() ) ENGINE=InnoDB DEFAULT CHARACTER SET=utf8; ]]) - db.query("ALTER TABLE `player_items` ADD COLUMN IF NOT EXISTS `augments` blob NOT NULL"); - db.query("ALTER TABLE `player_inboxitems` ADD COLUMN IF NOT EXISTS `augments` blob NOT NULL"); - db.query("ALTER TABLE `player_depotitems` ADD COLUMN IF NOT EXISTS `augments` blob NOT NULL"); - db.query("ALTER TABLE `player_rewarditems` ADD COLUMN IF NOT EXISTS `augments` blob NOT NULL"); - db.query("ALTER TABLE `player_storeinboxitems` ADD COLUMN IF NOT EXISTS `augments` blob NOT NULL"); + db.query("ALTER TABLE `player_items` ADD COLUMN `augments` blob NOT NULL"); + db.query("ALTER TABLE `player_inboxitems` ADD COLUMN `augments` blob NOT NULL"); + db.query("ALTER TABLE `player_depotitems` ADD COLUMN `augments` blob NOT NULL"); + db.query("ALTER TABLE `player_rewarditems` ADD COLUMN `augments` blob NOT NULL"); + db.query("ALTER TABLE `player_storeinboxitems` ADD COLUMN `augments` blob NOT NULL"); return true end \ No newline at end of file