mirror of
https://github.com/lnbits/lnbits.git
synced 2025-09-19 12:01:12 +02:00
Update migrations.py
f string
This commit is contained in:
@@ -3,7 +3,7 @@ async def m001_initial(db):
|
|||||||
Creates an improved satsdice table and migrates the existing data.
|
Creates an improved satsdice table and migrates the existing data.
|
||||||
"""
|
"""
|
||||||
await db.execute(
|
await db.execute(
|
||||||
"""
|
f"""
|
||||||
CREATE TABLE satsdice.satsdice_pay (
|
CREATE TABLE satsdice.satsdice_pay (
|
||||||
id TEXT PRIMARY KEY,
|
id TEXT PRIMARY KEY,
|
||||||
wallet TEXT,
|
wallet TEXT,
|
||||||
@@ -28,7 +28,7 @@ async def m002_initial(db):
|
|||||||
Creates an improved satsdice table and migrates the existing data.
|
Creates an improved satsdice table and migrates the existing data.
|
||||||
"""
|
"""
|
||||||
await db.execute(
|
await db.execute(
|
||||||
"""
|
f"""
|
||||||
CREATE TABLE satsdice.satsdice_withdraw (
|
CREATE TABLE satsdice.satsdice_withdraw (
|
||||||
id TEXT PRIMARY KEY,
|
id TEXT PRIMARY KEY,
|
||||||
satsdice_pay TEXT,
|
satsdice_pay TEXT,
|
||||||
@@ -47,7 +47,7 @@ async def m003_initial(db):
|
|||||||
Creates an improved satsdice table and migrates the existing data.
|
Creates an improved satsdice table and migrates the existing data.
|
||||||
"""
|
"""
|
||||||
await db.execute(
|
await db.execute(
|
||||||
"""
|
f"""
|
||||||
CREATE TABLE satsdice.satsdice_payment (
|
CREATE TABLE satsdice.satsdice_payment (
|
||||||
payment_hash TEXT PRIMARY KEY,
|
payment_hash TEXT PRIMARY KEY,
|
||||||
satsdice_pay TEXT,
|
satsdice_pay TEXT,
|
||||||
|
Reference in New Issue
Block a user