From 94b4f2987861b484ca914e277742c12e4d3f0cb9 Mon Sep 17 00:00:00 2001 From: Tim Williams Date: Mon, 23 Apr 2018 13:18:52 -0400 Subject: [PATCH] add drop table scripts --- shyftDb/postgres_setup/drop_tables.psql | 2 ++ shyftDb/postgres_setup/drop_tables.sh | 1 + 2 files changed, 3 insertions(+) create mode 100644 shyftDb/postgres_setup/drop_tables.psql create mode 100644 shyftDb/postgres_setup/drop_tables.sh diff --git a/shyftDb/postgres_setup/drop_tables.psql b/shyftDb/postgres_setup/drop_tables.psql new file mode 100644 index 0000000000..2a985786f2 --- /dev/null +++ b/shyftDb/postgres_setup/drop_tables.psql @@ -0,0 +1,2 @@ +DROP TABLE txs; +DROP TABLE blocks; \ No newline at end of file diff --git a/shyftDb/postgres_setup/drop_tables.sh b/shyftDb/postgres_setup/drop_tables.sh new file mode 100644 index 0000000000..576637538a --- /dev/null +++ b/shyftDb/postgres_setup/drop_tables.sh @@ -0,0 +1 @@ +psql -U postgres -d shyftdb -f drop_tables.psql \ No newline at end of file