lmao schema change
This commit is contained in:
parent
a4efcd34f1
commit
868faa6cce
|
@ -1,3 +1,6 @@
|
||||||
# tmtd
|
# 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,
|
id serial primary key,
|
||||||
name varchar(128) not null,
|
name varchar(128) not null,
|
||||||
description varchar(32768) not null,
|
description varchar(32768) not null,
|
||||||
author integer references users(id) not null,
|
author integer references users(id),
|
||||||
assignee integer references users(id) not null,
|
assignee integer references users(id),
|
||||||
category integer references categories(id) not null,
|
category integer not null references categories(id) on delete cascade,
|
||||||
created timestamp not null,
|
created timestamp not null,
|
||||||
deadline timestamp
|
deadline timestamp
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in a new issue