fixed another foreign key drop with incorrect name

This commit is contained in:
Daniel Klabbers 2018-07-20 09:24:42 +02:00
parent 9d13aae115
commit 34e7355c58

View File

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