Skip to content

Commit

Permalink
Make 13th migration revertable (#755)
Browse files Browse the repository at this point in the history
  • Loading branch information
Dzejkop authored Jun 25, 2024
1 parent 7719b1d commit 2a86a96
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions schemas/database/013_batches_and_transactions.down.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
DROP TABLE transactions;
DROP TABLE batches;
Original file line number Diff line number Diff line change
Expand Up @@ -21,4 +21,4 @@ CREATE TABLE transactions
created_at TIMESTAMPTZ NOT NULL,

FOREIGN KEY (batch_next_root) REFERENCES batches (next_root) ON DELETE CASCADE
);
);

0 comments on commit 2a86a96

Please sign in to comment.