Completed
Pull Request — master (#55)
by Gino
01:23
created
updates/create_polymorphic_tag_table.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -55,7 +55,7 @@  discard block
 block discarded – undo
55 55
 
56 56
             Schema::create(
57 57
                 Tag::PIVOT_TABLE,
58
-                static function ($table) use ($pivotColumnId, $pivotColumnType) {
58
+                static function($table) use ($pivotColumnId, $pivotColumnType) {
59 59
                     $table->engine = 'InnoDB';
60 60
 
61 61
                     $table->integer('tag_id')->unsigned()->nullable()->default(null);
@@ -63,7 +63,7 @@  discard block
 block discarded – undo
63 63
                     $table->string($pivotColumnType);
64 64
 
65 65
                     $table->index(
66
-                        ['tag_id', Tag::PIVOT_COLUMN . '_id', Tag::PIVOT_COLUMN . '_type'],
66
+                        [ 'tag_id', Tag::PIVOT_COLUMN . '_id', Tag::PIVOT_COLUMN . '_type' ],
67 67
                         'ginopane_blogtaxonomy_taggable_index'
68 68
                     );
69 69
 
Please login to merge, or discard this patch.