@@ -14,7 +14,7 @@ discard block |
||
14 | 14 | public function up() |
15 | 15 | { |
16 | 16 | if (!Schema::hasTable('users')) { |
17 | - Schema::create('users', function (Blueprint $table) { |
|
17 | + Schema::create('users', function(Blueprint $table) { |
|
18 | 18 | $table->increments('id'); |
19 | 19 | $table->string('name'); |
20 | 20 | $table->string('firstname')->default('firstname'); |
@@ -24,7 +24,7 @@ discard block |
||
24 | 24 | $table->timestamps(); |
25 | 25 | }); |
26 | 26 | } else { |
27 | - Schema::table('users', function (Blueprint $table) { |
|
27 | + Schema::table('users', function(Blueprint $table) { |
|
28 | 28 | if (!Schema::hasColumn('users', 'name')) { |
29 | 29 | $table->string('name')->default('name'); |
30 | 30 | } |
@@ -35,7 +35,7 @@ discard block |
||
35 | 35 | $table->string('lastname')->default('lastname'); |
36 | 36 | } |
37 | 37 | if (!Schema::hasColumn('users', 'email')) { |
38 | - $table->string('email')->default('user_'.rand(100000, 999999).'@kendozone.com')->unique(); |
|
38 | + $table->string('email')->default('user_' . rand(100000, 999999) . '@kendozone.com')->unique(); |
|
39 | 39 | } |
40 | 40 | |
41 | 41 | if (!Schema::hasColumn('users', 'password')) { |