mirror of
https://github.com/lnbits/lnbits.git
synced 2025-06-13 10:20:51 +02:00
Update migrations.py
f string
This commit is contained in:
parent
f1418da52f
commit
8034c477ab
@ -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,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user