Skip to content

Commit

Permalink
* fixed installation (damn me..)
Browse files Browse the repository at this point in the history
  • Loading branch information
slawkens committed Jan 13, 2018
1 parent 956f631 commit a9f205f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions install/steps/5-database.php
Original file line number Diff line number Diff line change
Expand Up @@ -220,11 +220,11 @@
success($locale['step_database_adding_field'] . ' players.comment...');
}

if($fieldExist('rank_id', 'players')) {
if(fieldExist('rank_id', 'players')) {
if(query("ALTER TABLE players MODIFY `rank_id` INT(11) NOT NULL DEFAULT 0;"))
success($locale['step_database_modifying_field'] . ' players.rank_id...');

if($fieldExist('guildnick', 'players')) {
if(fieldExist('guildnick', 'players')) {
if(query("ALTER TABLE players MODIFY `guildnick` VARCHAR(255) NOT NULL DEFAULT '';")) {
success($locale['step_database_modifying_field'] . ' players.guildnick...');
}
Expand Down

0 comments on commit a9f205f

Please sign in to comment.