mirror of
https://github.com/slawkens/myaac.git
synced 2025-10-13 17:24:54 +02:00
@@ -58,6 +58,11 @@ else {
|
||||
}
|
||||
}
|
||||
|
||||
if(!$db->hasColumn('accounts', 'email')) {
|
||||
if(query("ALTER TABLE `accounts` ADD `email` varchar(255) NOT NULL DEFAULT '';"))
|
||||
success($locale['step_database_adding_field'] . ' accounts.email...');
|
||||
}
|
||||
|
||||
if($db->hasColumn('accounts', 'key')) {
|
||||
if(query("ALTER TABLE `accounts` MODIFY `key` VARCHAR(64) NOT NULL DEFAULT '';"))
|
||||
success($locale['step_database_modifying_field'] . ' accounts.key...');
|
||||
|
Reference in New Issue
Block a user