Skip to content

Commit

Permalink
Fix Syntax Error with queries for Augments Migrations
Browse files Browse the repository at this point in the history
Co-Authored-By: <[email protected]>
  • Loading branch information
Codinablack committed Dec 2, 2024
1 parent 4fb76f8 commit 15d17c8
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions data/migrations/31.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 15d17c8

Please sign in to comment.