mirror of
https://github.com/flarum/framework.git
synced 2024-12-11 13:05:50 +08:00
forgot to name a few constraints properly on the dropForeign statement
This commit is contained in:
parent
cbc95e42dd
commit
9d13aae115
|
@ -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'
|
||||||
]);
|
]);
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user