Skip to content

Commit

Permalink
Merge branch 'addPaymentInWar' of https://github.com/luanluciano93/ca…
Browse files Browse the repository at this point in the history
…nary into addPaymentInWar
  • Loading branch information
Luan Luciano committed Dec 13, 2023
2 parents 93e3e56 + 2fd0b52 commit 6cbb331
Showing 1 changed file with 6 additions and 7 deletions.
13 changes: 6 additions & 7 deletions data-otservbr-global/migrations/43.lua
Original file line number Diff line number Diff line change
@@ -1,12 +1,11 @@
function onUpdateDatabase()
logger.info("Updating database to version 43 (feat frags and payment in war system)")
db.query([[
logger.info("Updating database to version 43 (feat frags and payment in war system)")

db.query([[
ALTER TABLE `guild_wars`
ADD `frags` tinyint(3) UNSIGNED NOT NULL DEFAULT '0',
ADD `payment` bigint(20) UNSIGNED NOT NULL DEFAULT '0'
]])

return true
end


return true
end

0 comments on commit 6cbb331

Please sign in to comment.