Completed
Pull Request — master (#33)
by Julien
19:06 queued 13:55
created
database/migrations/2014_10_12_000001_alter_lt_users_table.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -14,7 +14,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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')) {
Please login to merge, or discard this patch.