db setup and teardown suite

This commit is contained in:
nitowa
2022-08-18 09:42:48 -04:00
commit 883c81b786
9 changed files with 64 additions and 0 deletions
+9
View File
@@ -0,0 +1,9 @@
CREATE TABLE transactions(
tx_id INT,
address TEXT,
value INT,
tx_hash TEXT,
block_id INT,
timestamp TIMESTAMP,
PRIMARY KEY (tx_id, address)
) WITH CLUSTERING ORDER BY (address DESC);
+1
View File
@@ -0,0 +1 @@
DROP TABLE transactions