mirror of
https://github.com/lnbits/lnbits-legend.git
synced 2025-03-10 09:19:42 +01:00
change sign
This commit is contained in:
parent
3f61286cad
commit
a1a75ddf0b
1 changed files with 1 additions and 1 deletions
|
@ -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()
|
||||||
|
|
Loading…
Add table
Reference in a new issue