Create initial backend (#7)

Closes #3

Reviewed-on: #7
This commit is contained in:
2025-05-08 10:02:30 +02:00
parent 539c6412a7
commit 1baa1afb07
8 changed files with 552 additions and 1 deletions

View File

@@ -0,0 +1,32 @@
create table users
(
id integer primary key,
name text not null
) strict;
create table history
(
id integer primary key,
user_id integer not null,
date date not null,
amount integer not null
);
create table goals
(
id integer primary key,
name text not null,
target integer not null,
progress integer not null,
weight real not null
);
create table tasks
(
id integer primary key,
name text not null,
reward integer not null,
assigned integer
);
insert into users (name) values ('Seeseemelk'), ('Huffle');