Completed
Push — master ( 6d35db...cd9ab2 )
by Julien
14:09
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
@@ -15,7 +15,7 @@  discard block
 block discarded – undo
15 15
     public function up()
16 16
     {
17 17
         if (!Schema::hasTable('users')) {
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
 block discarded – undo
25 25
                 $table->timestamps();
26 26
             });
27 27
         } else {
28
-            Schema::table('users', function (Blueprint $table) {
28
+            Schema::table('users', function(Blueprint $table) {
29 29
                 if (!Schema::hasColumn('users', 'name')) {
30 30
                     $table->string('name')->default('name');
31 31
                 }
@@ -36,7 +36,7 @@  discard block
 block discarded – undo
36 36
                     $table->string('lastname')->default('lastname');
37 37
                 }
38 38
                 if (!Schema::hasColumn('users', 'email')) {
39
-                    $table->string('email')->default("user_".rand(100000,999999)."@kendozone.com")->unique();
39
+                    $table->string('email')->default("user_" . rand(100000, 999999) . "@kendozone.com")->unique();
40 40
                 }
41 41
 
42 42
                 if (!Schema::hasColumn('users', 'password')) {
Please login to merge, or discard this patch.