Skip to content

Commit

Permalink
fix(db migrate): fix migratedown problem, add CASCADE to force delete…
Browse files Browse the repository at this point in the history
… table
  • Loading branch information
eizyc committed Jun 29, 2024
1 parent 10347d9 commit c3b2d94
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions db/migration/000001_init_schema.down.sql
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
DROP TABLE IF EXISTS entries;
DROP TABLE IF EXISTS transfer;
DROP TABLE IF EXISTS accounts;
DROP TABLE IF EXISTS entries CASCADE;
DROP TABLE IF EXISTS transfers CASCADE;
DROP TABLE IF EXISTS accounts CASCADE;

0 comments on commit c3b2d94

Please sign in to comment.