feat: update to v1.0.0

This commit is contained in:
dni ⚡ 2024-10-21 14:38:03 +02:00
parent 42b5edaf5d
commit 48b1069a9f
12 changed files with 1447 additions and 1370 deletions

View file

@ -21,3 +21,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};
"""
)