#8 add view and api to track activities

This commit is contained in:
Tim
2024-07-27 21:10:31 +02:00
parent 75f5ff2856
commit 8e4ef0c27a
12 changed files with 625 additions and 54 deletions

View File

@@ -1,5 +1,8 @@
create table person (id integer not null primary key, name text);
insert into person (id, name)
values (1, 'John');
CREATE TABLE workout (
user_id INTEGER NOT NULL,
date TEXT NOT NULL,
type TEXT NOT NULL,
sets INTEGER NOT NULL,
reps INTEGER NOT NULL
);