From b70e698b1842899649b5b903930a1378545d53a8 Mon Sep 17 00:00:00 2001 From: Dan Cojocaru Date: Tue, 4 Jan 2022 10:05:16 +0200 Subject: [PATCH] Add "drop table if exists" for exchange table The initialization script is only called if no database exists, so this shouldn't matter since there would be nothing to drop, but consistency is nice. --- server/init.sql | 1 + 1 file changed, 1 insertion(+) diff --git a/server/init.sql b/server/init.sql index f2d1aee..a012db4 100644 --- a/server/init.sql +++ b/server/init.sql @@ -5,6 +5,7 @@ drop table if exists transactions; drop table if exists accounts_transactions; drop table if exists notifications; drop table if exists users_notifications; +drop table if exists exchange; create table users ( id integer primary key autoincrement,