initial task refusal functions

This commit is contained in:
Mike McLean 2023-05-04 16:59:04 -04:00 committed by Tomas Kopecek
parent 58a5e94b20
commit 5d0088f9ef
2 changed files with 47 additions and 0 deletions

View file

@ -1032,6 +1032,7 @@ CREATE TABLE scheduler_task_refusals (
task_id INTEGER REFERENCES task (id) NOT NULL,
host_id INTEGER REFERENCES host (id) NOT NULL,
by_host BOOLEAN NOT NULL,
soft BOOLEAN NOT NULL DEFAULT FALSE,
msg TEXT,
time TIMESTAMPTZ NOT NULL DEFAULT NOW()
) WITHOUT OIDS;