1
0
mirror of https://github.com/flarum/core.git synced 2025-01-29 12:42:32 +01:00

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 5a04635e7a
commit e1a282e0e1

View File

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