Merge branch 'v1' into feat_lnurl_v1

This commit is contained in:
Arc 2024-11-18 13:44:41 +00:00
commit 5bdc334249
8 changed files with 1422 additions and 1038 deletions

View file

@ -19,3 +19,15 @@ async def m001_initial(db):
);
"""
)
async def m002_add_timestamp(db):
"""
Add timestamp to templates table.
"""
await db.execute(
f"""
ALTER TABLE myextension.maintable
ADD COLUMN created_at TIMESTAMP NOT NULL DEFAULT {db.timestamp_now};
"""
)