From 798b8e5fdf2bd4cc3310221c8d030132d1e72319 Mon Sep 17 00:00:00 2001 From: Vlad Stan Date: Thu, 4 Aug 2022 12:01:46 +0300 Subject: [PATCH] fix: add `network` column for migration --- tools/conv.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/tools/conv.py b/tools/conv.py index b93bcfbe..d53c083b 100644 --- a/tools/conv.py +++ b/tools/conv.py @@ -285,9 +285,10 @@ def migrate_ext(sqlite_db_file, schema, ignore_missing=True): address_no, balance, type, - fingerprint + fingerprint, + network ) - VALUES (%s, %s, %s, %s, %s, %s, %s, %s); + VALUES (%s, %s, %s, %s, %s, %s, %s, %s, %s); """ insert_to_pg(q, res.fetchall()) # ADDRESSES