Update migrations.py

This commit is contained in:
calle 2022-11-19 14:34:13 -06:00 committed by GitHub
parent 066015c05c
commit f70d30bfa6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -3,7 +3,7 @@ async def m001_initial(db):
Creates an improved withdraw table and migrates the existing data. Creates an improved withdraw table and migrates the existing data.
""" """
await db.execute( await db.execute(
""" f"""
CREATE TABLE withdraw.withdraw_links ( CREATE TABLE withdraw.withdraw_links (
id TEXT PRIMARY KEY, id TEXT PRIMARY KEY,
wallet TEXT, wallet TEXT,
@ -28,7 +28,7 @@ async def m002_change_withdraw_table(db):
Creates an improved withdraw table and migrates the existing data. Creates an improved withdraw table and migrates the existing data.
""" """
await db.execute( await db.execute(
""" f"""
CREATE TABLE withdraw.withdraw_link ( CREATE TABLE withdraw.withdraw_link (
id TEXT PRIMARY KEY, id TEXT PRIMARY KEY,
wallet TEXT, wallet TEXT,