mirror of
https://github.com/lnbits/lnbits.git
synced 2025-09-27 12:26:19 +02:00
Update migrations.py
This commit is contained in:
@@ -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,
|
||||||
|
Reference in New Issue
Block a user