fix: ordinal_number data type

This commit is contained in:
Ludo Galabru
2024-01-12 12:13:21 -05:00
parent d57ac758e1
commit 0b54537003

View File

@@ -104,7 +104,7 @@ pub fn initialize_ordhook_db(base_dir: &PathBuf, ctx: &Context) -> Connection {
}
if let Err(e) = conn.execute(
"CREATE TABLE IF NOT EXISTS locations (
ordinal_number TEXT NOT NULL,
ordinal_number INTEGER NOT NULL,
block_height INTEGER NOT NULL,
tx_index INTEGER NOT NULL,
outpoint_to_watch TEXT NOT NULL,