@@ -19,14 +19,14 @@ |
||
| 19 | 19 | |
| 20 | 20 | protected function optimizeIndexes(string $table, string $first_key, string $second_key) |
| 21 | 21 | { |
| 22 | - $this->table($table, function (Blueprint $table) use ($first_key, $second_key) { |
|
| 22 | + $this->table($table, function(Blueprint $table) use ($first_key, $second_key) { |
|
| 23 | 23 | $table->index($first_key); |
| 24 | 24 | }); |
| 25 | 25 | } |
| 26 | 26 | |
| 27 | 27 | protected function revertIndexes(string $table, string $first_key, string $second_key) |
| 28 | 28 | { |
| 29 | - $this->table($table, function (Blueprint $table) use ($first_key, $second_key) { |
|
| 29 | + $this->table($table, function(Blueprint $table) use ($first_key, $second_key) { |
|
| 30 | 30 | $table->primary([$first_key, $second_key]); |
| 31 | 31 | }); |
| 32 | 32 | } |