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 <HASH>..<HASH> 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');
         });
     }
fixed another foreign key drop with incorrect name