Skip to content

Commit

Permalink
fix: Add a new migration script for creating the buffered_transfer_pr…
Browse files Browse the repository at this point in the history
…oofs table (#1695)
  • Loading branch information
binarybaron authored Jul 1, 2024
1 parent 415323e commit aa9b3c4
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 deletions.
6 changes: 0 additions & 6 deletions swap/migrations/20210903050345_create_swaps_table.sql
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,4 @@ CREATE TABLE if NOT EXISTS peer_addresses
(
peer_id TEXT NOT NULL,
address TEXT NOT NULL
);

CREATE TABLE if NOT EXISTS buffered_transfer_proofs
(
swap_id TEXT PRIMARY KEY NOT NULL,
proof TEXT NOT NULL
);
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
CREATE TABLE if NOT EXISTS buffered_transfer_proofs
(
swap_id TEXT PRIMARY KEY NOT NULL,
proof TEXT NOT NULL
);

0 comments on commit aa9b3c4

Please sign in to comment.