lmao schema change
This commit is contained in:
parent
a4efcd34f1
commit
868faa6cce
|
@ -1,3 +1,6 @@
|
|||
# tmtd
|
||||
|
||||
(too much) To Do
|
||||
(too much) To Do
|
||||
|
||||
## Database schema versioning
|
||||
**Warning**: currently, the database schema is *unstable*, meaning that it can change any time and break everything. Be warned.
|
|
@ -20,9 +20,9 @@ create table if not exists tasks(
|
|||
id serial primary key,
|
||||
name varchar(128) not null,
|
||||
description varchar(32768) not null,
|
||||
author integer references users(id) not null,
|
||||
assignee integer references users(id) not null,
|
||||
category integer references categories(id) not null,
|
||||
author integer references users(id),
|
||||
assignee integer references users(id),
|
||||
category integer not null references categories(id) on delete cascade,
|
||||
created timestamp not null,
|
||||
deadline timestamp
|
||||
)
|
||||
|
|
Loading…
Reference in a new issue