mirror of
https://github.com/lnbits/lnbits.git
synced 2025-12-11 13:12:28 +01:00
change sign
This commit is contained in:
@@ -142,7 +142,7 @@ def migrate_db(file: str, schema: str, exclude_tables: List[str] = []):
|
|||||||
data = sq.execute(f"SELECT * FROM {tableName};").fetchall()
|
data = sq.execute(f"SELECT * FROM {tableName};").fetchall()
|
||||||
|
|
||||||
if len(data) == 0:
|
if len(data) == 0:
|
||||||
print(f"⚠️ You sneaky dev! Table {tableName} is empty!")
|
print(f"🛑 You sneaky dev! Table {tableName} is empty!")
|
||||||
|
|
||||||
insert_to_pg(q, data)
|
insert_to_pg(q, data)
|
||||||
sq.close()
|
sq.close()
|
||||||
|
|||||||
Reference in New Issue
Block a user