@@ -15,7 +15,7 @@ discard block |
||
| 15 | 15 | public function up() |
| 16 | 16 | { |
| 17 | 17 | if (!Schema::hasTable(config('laravel-tournaments.user_table'))) { |
| 18 | - Schema::create('users', function (Blueprint $table) { |
|
| 18 | + Schema::create('users', function(Blueprint $table) { |
|
| 19 | 19 | $table->increments('id'); |
| 20 | 20 | $table->string('name'); |
| 21 | 21 | $table->string('firstname')->default('firstname'); |
@@ -25,7 +25,7 @@ discard block |
||
| 25 | 25 | $table->timestamps(); |
| 26 | 26 | }); |
| 27 | 27 | } else { |
| 28 | - Schema::table(config('laravel-tournaments.user.table'), function (Blueprint $table) { |
|
| 28 | + Schema::table(config('laravel-tournaments.user.table'), function(Blueprint $table) { |
|
| 29 | 29 | if (!Schema::hasColumn(config('laravel-tournaments.user.table'), 'name')) { |
| 30 | 30 | $table->string('name')->default('name'); |
| 31 | 31 | } |