Switching lnurl links from model to crud

This commit is contained in:
arcbtc 2023-12-30 21:37:52 +00:00
parent c749da80dd
commit ba7e11e30d
14 changed files with 100 additions and 180 deletions

View file

@ -26,4 +26,28 @@ async def m002_addtip_wallet(db):
"""
ALTER TABLE tempextension.temp ADD lnurlwithdrawamount INTEGER DEFAULT 0;
"""
)
# Here we add another field to the database, always add never edit!
async def m004_addtip_wallet(db):
"""
Add total to templates table
"""
await db.execute(
"""
ALTER TABLE tempextension.temp ADD lnurlwithdraw TEXT;
"""
)
# Here we add another field to the database
async def m005_addtip_wallet(db):
"""
Add total to templates table
"""
await db.execute(
"""
ALTER TABLE tempextension.temp ADD lnurlpay TEXT;
"""
)