Add data and log task columns
This commit is contained in:
parent
b17e55de7d
commit
a31bd84eaa
1 changed files with 3 additions and 1 deletions
|
@ -3,6 +3,8 @@ CREATE TABLE IF NOT EXISTS tasks(
|
|||
id serial PRIMARY KEY,
|
||||
worker_id uuid REFERENCES workers(id),
|
||||
file_id integer REFERENCES files(id) NOT NULL,
|
||||
type smallint NOT NULL,
|
||||
status smallint NOT NULL,
|
||||
type smallint NOT NULL
|
||||
data JSONB,
|
||||
log text[]
|
||||
);
|
Loading…
Add table
Reference in a new issue