Update migrations.py
f string
This commit is contained in:
parent
4b408c1f0a
commit
066015c05c
1 changed files with 3 additions and 3 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue