separate db conneciton pools for each process

This commit is contained in:
Ian Norden committed 2020-05-06 16:16:56 -05:00
1 parent fbd4a5ca6a
commit fb6fdfcc13
4 files changed
+25 -17

No files matched your search

@@ -7,7 +7,7 @@ CREATE TABLE btc.header_cids (
cid TEXT NOT NULL,
timestamp NUMERIC NOT NULL,
bits BIGINT NOT NULL,
node_id INTEGER NOT NULL REFERENCES nodes (id) ON DELETE CASCADE,
node_id INTEGER NOT NULL REFERENCES nodes (id) ON DELETE CASCADE,
UNIQUE (block_number, block_hash)
);