mirror of
https://github.com/lnbits/lnbits-legend.git
synced 2024-11-19 09:54:21 +01:00
chore: format SQL
This commit is contained in:
parent
8857cb94b4
commit
9cf587a64a
@ -62,7 +62,7 @@ async def migrate_databases():
|
|||||||
)
|
)
|
||||||
elif conn.type in {POSTGRES, COCKROACH}:
|
elif conn.type in {POSTGRES, COCKROACH}:
|
||||||
exists = await conn.fetchone(
|
exists = await conn.fetchone(
|
||||||
"SELECT * FROM information_schema.tables WHERE table_schema= 'public' AND table_name = 'dbversions'"
|
"SELECT * FROM information_schema.tables WHERE table_schema = 'public' AND table_name = 'dbversions'"
|
||||||
)
|
)
|
||||||
|
|
||||||
if not exists:
|
if not exists:
|
||||||
|
Loading…
Reference in New Issue
Block a user