codegen: implement auto-timestamps for created_at and updated_at
Some checks failed
CI / build-docker (push) Successful in 7s
CI / build-docker-bootstrap (push) Has been skipped
CI / release-test (push) Failing after 3m7s

This commit is contained in:
2026-01-31 20:35:03 -08:00
parent 75b7662c34
commit 5973a2a4b7
3 changed files with 51 additions and 16 deletions

View File

@@ -40,7 +40,9 @@ create table item_flavor (rowid integer primary key, name text not null) strict;
create table items (
rowid integer primary key,
description text not null default '',
flavor integer references item_flavor(rowid)
flavor integer references item_flavor(rowid),
created_at integer not null,
updated_at integer not null
) strict;
EOF