diff --git a/food.ddl b/food.ddl index b03b3f3..e7c0d1c 100644 --- a/food.ddl +++ b/food.ddl @@ -1,6 +1,7 @@ begin; create table weight ( + id integer primary key, date datetime default (datetime('now', '+2 hours')), weight real not null ); @@ -53,6 +54,7 @@ group by strftime('%Y', date) order by date desc; create table food( + id integer primary key, date datetime default (datetime('now', '+2 hours')), food varchar not null, description varchar,