codegen: implement auto-timestamps for created_at and updated_at
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user