mirror of
https://github.com/flarum/core.git
synced 2025-07-16 22:31:18 +02:00
fixed another foreign key drop with incorrect name
This commit is contained in:
@@ -28,7 +28,7 @@ return [
|
|||||||
|
|
||||||
'down' => function (Builder $schema) {
|
'down' => function (Builder $schema) {
|
||||||
$schema->table('api_keys', function (Blueprint $table) {
|
$schema->table('api_keys', function (Blueprint $table) {
|
||||||
$table->dropForeign(['user_id']);
|
$table->dropForeign('api_keys_user_id_foreign');
|
||||||
$table->dropColumn('id', 'allowed_ips', 'user_id', 'scopes', 'created_at');
|
$table->dropColumn('id', 'allowed_ips', 'user_id', 'scopes', 'created_at');
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user