Switching lnurl links from model to crud
This commit is contained in:
parent
c749da80dd
commit
ba7e11e30d
14 changed files with 100 additions and 180 deletions
|
|
@ -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;
|
||||
"""
|
||||
)
|
||||
Loading…
Add table
Add a link
Reference in a new issue