forgot to name a few constraints properly on the dropForeign statement

This commit is contained in:
Daniel Klabbers 2018-07-20 09:23:03 +02:00
parent cbc95e42dd
commit 9d13aae115

View File

@ -48,8 +48,8 @@ return [
$table->renameColumn('hidden_user_id', 'hide_user_id'); $table->renameColumn('hidden_user_id', 'hide_user_id');
$table->dropForeign([ $table->dropForeign([
'discussions_user_id_foreign', 'discussions_last_posted_user_id', 'hidden_user_id', 'discussions_user_id_foreign', 'discussions_last_posted_user_id_foreign', 'discussions_hidden_user_id_foreign',
'first_post_id', 'last_post_id' 'discussions_first_post_id_foreign', 'discussions_last_post_id_foreign'
]); ]);
}); });
} }