Passed
Pull Request — master (#10)
by
unknown
19:55
created
lib/custom/setup/TablesMigrateSiteidLaravel.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -55,9 +55,9 @@
 block discarded – undo
55 55
 		$this->process( $this->resources );
56 56
 
57 57
 		if( $this->getSchema( 'db-customer' )->tableExists( 'users' ) !== false ) {
58
-			if (!Schema::table('users', function (Blueprint $table) {
59
-				$table->string('siteid')->after('updated_at');
60
-			}));
58
+			if( !Schema::table( 'users', function( Blueprint $table ) {
59
+				$table->string( 'siteid' )->after( 'updated_at' );
60
+			}) );
61 61
 			$this->execute( 'UPDATE users SET siteid=\'\' WHERE siteid IS NULL' );
62 62
 		}
63 63
 	}
Please login to merge, or discard this patch.