From 34e7355c58dc1c89f5f490623f73028eb7d30980 Mon Sep 17 00:00:00 2001 From: Daniel Klabbers Date: Fri, 20 Jul 2018 09:24:42 +0200 Subject: [PATCH] fixed another foreign key drop with incorrect name --- .../migrations/2018_01_11_095000_change_api_keys_b8_columns.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/framework/core/migrations/2018_01_11_095000_change_api_keys_b8_columns.php b/framework/core/migrations/2018_01_11_095000_change_api_keys_b8_columns.php index 478c578cf..4322e2dc8 100644 --- a/framework/core/migrations/2018_01_11_095000_change_api_keys_b8_columns.php +++ b/framework/core/migrations/2018_01_11_095000_change_api_keys_b8_columns.php @@ -28,7 +28,7 @@ return [ 'down' => function (Builder $schema) { $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'); }); }