This commit is contained in:
benarc 2024-02-01 17:18:55 +00:00
parent 66d44f95fb
commit 2cac36be17
12 changed files with 272 additions and 311 deletions

View file

@ -1,5 +1,6 @@
# The migration file is like a blockchain, never edit only add!
async def m001_initial(db):
"""
Initial templates table.
@ -19,8 +20,10 @@ async def m001_initial(db):
"""
)
# Here we add another field to the database
async def m002_addtip_wallet(db):
"""
Add total to templates table
@ -29,4 +32,4 @@ async def m002_addtip_wallet(db):
"""
ALTER TABLE myextension.maintable ADD ticker INTEGER DEFAULT 1;
"""
)
)