We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 473ddd0 commit db14f60Copy full SHA for db14f60
components/chainhook-event-observer/src/hord/db/mod.rs
@@ -62,6 +62,15 @@ pub fn initialize_hord_db(path: &PathBuf, ctx: &Context) -> Connection {
62
) {
63
ctx.try_log(|logger| slog::error!(logger, "{}", e.to_string()));
64
}
65
+ if let Err(e) = conn.execute(
66
+ "CREATE TABLE IF NOT EXISTS transfers (
67
+ block_height INTEGER NOT NULL PRIMARY KEY
68
+ )",
69
+ [],
70
+ ) {
71
+ ctx.try_log(|logger| slog::error!(logger, "{}", e.to_string()));
72
+ }
73
+
74
if let Err(e) = conn.execute(
75
"CREATE INDEX IF NOT EXISTS index_inscriptions_on_outpoint_to_watch ON inscriptions(outpoint_to_watch);",
76
[],
0 commit comments