@@ -74,7 +74,7 @@ |
||
| 74 | 74 | $currentCommand = null; |
| 75 | 75 | $currentMigration = null; |
| 76 | 76 | |
| 77 | - $migrations = $migrationCollection->filter(function (DeployMigration $migration) { |
|
| 77 | + $migrations = $migrationCollection->filter(function(DeployMigration $migration) { |
|
| 78 | 78 | $tableQuery = $this->getTableQuery(); |
| 79 | 79 | $alreadyExecuted = $tableQuery->where('migration', '=', get_class($migration))->count() > 0; |
| 80 | 80 | return $alreadyExecuted === false; |
@@ -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(); |