I am editing a table so that it will use polymorphic relationships:
public function up()
{
Schema::table('locations', function (Blueprint $table) {
$table->morphs('location');
});
}
But I do not know the best way appropriate to reverse this migration. Would I have to drop the two columns that it creates and the index itself, or is there a way of doing this in one line in Laravel? Thanks.