mirror of
https://github.com/lnbits/lnbits.git
synced 2025-10-09 12:02:39 +02:00
chore: format SQL
This commit is contained in:
@@ -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:
|
||||||
|
Reference in New Issue
Block a user