Skip to content

Commit

Permalink
Update 2021-10-21-103415_create_rest_server_tables.php
Browse files Browse the repository at this point in the history
  • Loading branch information
Jordi committed Feb 9, 2022
1 parent 3c3f25a commit 4de2d6a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ public function down()
// drop constraints first to prevent errors
if ($this->db->DBDriver != 'SQLite3') // @phpstan-ignore-line
{
$this->forge->dropForeignKey($config->restKeysTable, $config->restKeysTable . '_user_id_foreign');
$this->forge->dropForeignKey($config->restUsersTable, $config->restUsersTable . '_key_id_foreign');
$this->forge->dropForeignKey($config->restAccessTable, $config->restAccessTable . '_api_key_foreign');
}

Expand Down

0 comments on commit 4de2d6a

Please # to comment.