@@ -55,9 +55,9 @@ |
||
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 | } |