@@ -50,12 +50,12 @@ |
||
50 | 50 | if (!Schema::hasTable(Series::RELATED_SERIES_TABLE_NAME)) { |
51 | 51 | Schema::create( |
52 | 52 | Series::RELATED_SERIES_TABLE_NAME, |
53 | - static function ($table) { |
|
53 | + static function($table) { |
|
54 | 54 | $table->engine = 'InnoDB'; |
55 | 55 | |
56 | 56 | $table->integer('series_id')->unsigned(); |
57 | 57 | $table->integer('related_series_id')->unsigned(); |
58 | - $table->index(['series_id', 'related_series_id'], 'related_series_index'); |
|
58 | + $table->index([ 'series_id', 'related_series_id' ], 'related_series_index'); |
|
59 | 59 | |
60 | 60 | $table |
61 | 61 | ->foreign('series_id', 'Series reference') |