mirror of
https://github.com/lnbits/lnbits-legend.git
synced 2024-11-20 10:39:59 +01:00
Update migrations.py
This commit is contained in:
parent
066015c05c
commit
f70d30bfa6
@ -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,
|
||||||
|
Loading…
Reference in New Issue
Block a user