diff --git a/tests/data/mock_data.zip b/tests/data/mock_data.zip index 0480adc27..4953f5317 100644 Binary files a/tests/data/mock_data.zip and b/tests/data/mock_data.zip differ diff --git a/tools/conv.py b/tools/conv.py index 99bb54f02..ba504b317 100644 --- a/tools/conv.py +++ b/tools/conv.py @@ -1,9 +1,8 @@ -import psycopg2 -import sqlite3 -import os import argparse +import os +import sqlite3 - +import psycopg2 from environs import Env # type: ignore env = Env() @@ -540,8 +539,8 @@ def migrate_ext(sqlite_db_file, schema, ignore_missing=True): # ITEMS res = sq.execute("SELECT * FROM items;") q = f""" - INSERT INTO offlineshop.items (shop, id, name, description, image, enabled, price, unit) - VALUES (%s, %s, %s, %s, %s, %s::boolean, %s, %s); + INSERT INTO offlineshop.items (shop, id, name, description, image, enabled, price, unit, fiat_base_multiplier) + VALUES (%s, %s, %s, %s, %s, %s::boolean, %s, %s, %s); """ items = res.fetchall() insert_to_pg(q, items)