Update 2018_04_02_163658_MigrateComponentTagTable.php
This commit is contained in:
@@ -31,7 +31,7 @@ class MigrateComponentTagTable extends Migration
|
|||||||
];
|
];
|
||||||
});
|
});
|
||||||
|
|
||||||
DB::table('taggables')->insert($tags);
|
DB::table('taggables')->insert($tags->toArray());
|
||||||
|
|
||||||
Schema::dropIfExists('component_tag');
|
Schema::dropIfExists('component_tag');
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user