mirror of
https://github.com/slawkens/myaac.git
synced 2025-04-26 01:09:21 +02:00
Fix something that Open Tibia developers don't think about
This fixes #60
This commit is contained in:
parent
5d0a0d352b
commit
89f24c631c
@ -152,6 +152,11 @@ if(!$db->hasColumn('accounts', 'premium_points')) {
|
||||
success($locale['step_database_adding_field'] . ' accounts.premium_points...');
|
||||
}
|
||||
|
||||
if(!$db->hasColumn('guilds', 'motd')) {
|
||||
if(query("ALTER TABLE `guilds` MODIFY `motd` VARCHAR(255) NOT NULL DEFAULT '';"))
|
||||
success($locale['step_database_modifying_field'] . ' guilds.motd...');
|
||||
}
|
||||
|
||||
if(!$db->hasColumn('guilds', 'description')) {
|
||||
if(query("ALTER TABLE `guilds` ADD `description` TEXT NOT NULL;"))
|
||||
success($locale['step_database_adding_field'] . ' guilds.description...');
|
||||
|
Loading…
x
Reference in New Issue
Block a user