Add data and log task columns

This commit is contained in:
Samuel Lorch 2024-05-09 04:46:17 +02:00
parent b17e55de7d
commit a31bd84eaa

View file

@ -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[]
);