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'); }); }