fix: if sats and fiat checkout conversion currency
This commit is contained in:
parent
680b035ec9
commit
32c230957e
7 changed files with 59 additions and 16 deletions
|
|
@ -185,3 +185,13 @@ async def m007_add_allow_fiat(db):
|
|||
ALTER TABLE events.events
|
||||
ADD COLUMN allow_fiat BOOLEAN NOT NULL DEFAULT FALSE;
|
||||
""")
|
||||
|
||||
|
||||
async def m008_add_fiat_currency(db):
|
||||
"""
|
||||
Add a fiat_currency column for sat-denominated events using fiat checkout.
|
||||
"""
|
||||
await db.execute("""
|
||||
ALTER TABLE events.events
|
||||
ADD COLUMN fiat_currency TEXT NOT NULL DEFAULT 'GBP';
|
||||
""")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue