From aa9b3c46871258ec8b4cf30adfe52c860ec40889 Mon Sep 17 00:00:00 2001 From: binarybaron <86064887+binarybaron@users.noreply.github.com> Date: Tue, 2 Jul 2024 01:20:20 +0200 Subject: [PATCH] fix: Add a new migration script for creating the buffered_transfer_proofs table (#1695) --- swap/migrations/20210903050345_create_swaps_table.sql | 6 ------ ...20240701231624_create_buffered_transfer_proofs_table.sql | 5 +++++ 2 files changed, 5 insertions(+), 6 deletions(-) create mode 100644 swap/migrations/20240701231624_create_buffered_transfer_proofs_table.sql diff --git a/swap/migrations/20210903050345_create_swaps_table.sql b/swap/migrations/20210903050345_create_swaps_table.sql index 84a97d0f..741a45e6 100644 --- a/swap/migrations/20210903050345_create_swaps_table.sql +++ b/swap/migrations/20210903050345_create_swaps_table.sql @@ -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 ); \ No newline at end of file diff --git a/swap/migrations/20240701231624_create_buffered_transfer_proofs_table.sql b/swap/migrations/20240701231624_create_buffered_transfer_proofs_table.sql new file mode 100644 index 00000000..32d2c918 --- /dev/null +++ b/swap/migrations/20240701231624_create_buffered_transfer_proofs_table.sql @@ -0,0 +1,5 @@ +CREATE TABLE if NOT EXISTS buffered_transfer_proofs +( + swap_id TEXT PRIMARY KEY NOT NULL, + proof TEXT NOT NULL +); \ No newline at end of file