diff --git a/data-otservbr-global/migrations/43.lua b/data-otservbr-global/migrations/43.lua index 4d5589672aa..31b45997791 100644 --- a/data-otservbr-global/migrations/43.lua +++ b/data-otservbr-global/migrations/43.lua @@ -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