CREATE TABLE IF NOT EXISTS logs( id bigserial PRIMARY KEY, task_id bigint REFERENCES tasks(id) NOT NULL, message text );