@@ -13,13 +13,13 @@ |
||
| 13 | 13 | */ |
| 14 | 14 | public function up() |
| 15 | 15 | { |
| 16 | - Schema::create('deploy_migrations', function (Blueprint $table) { |
|
| 16 | + Schema::create('deploy_migrations', function(Blueprint $table) { |
|
| 17 | 17 | $table->increments('id'); |
| 18 | 18 | $table->string('migration'); |
| 19 | 19 | $table->dateTime('created_at'); |
| 20 | 20 | }); |
| 21 | 21 | |
| 22 | - Schema::create('deploy_migrations_info', function (Blueprint $table) { |
|
| 22 | + Schema::create('deploy_migrations_info', function(Blueprint $table) { |
|
| 23 | 23 | $table->increments('id'); |
| 24 | 24 | $table->string('migration'); |
| 25 | 25 | $table->json('output')->nullable(); |
@@ -71,7 +71,7 @@ |
||
| 71 | 71 | |
| 72 | 72 | $migrationCollection = $instantiator->run(); |
| 73 | 73 | |
| 74 | - $migrations = $migrationCollection->filter(function (DeployMigration $migration) { |
|
| 74 | + $migrations = $migrationCollection->filter(function(DeployMigration $migration) { |
|
| 75 | 75 | $tableQuery = $this->getTableQuery(); |
| 76 | 76 | $alreadyExecuted = $tableQuery->where('migration', '=', get_class($migration))->count() > 0; |
| 77 | 77 | return $alreadyExecuted === false; |