harbor/make/migrations/postgresql/0100_2.7.0_schema.up.sql
stonezdj(Daojun Zhang) 57aff88eb5
Add REST API to list job queue status, pause/resume job queue and list schedulers (#17707)
Add queue manager and redis client
  Update scheduler to add count and list

Signed-off-by: stonezdj <daojunz@vmware.com>

Signed-off-by: stonezdj <daojunz@vmware.com>
2022-11-17 20:12:07 +08:00

10 lines
365 B
SQL

ALTER TABLE replication_policy ADD COLUMN IF NOT EXISTS copy_by_chunk boolean;
CREATE TABLE IF NOT EXISTS job_queue_status (
id SERIAL NOT NULL PRIMARY KEY,
job_type varchar(256) NOT NULL,
paused boolean NOT NULL DEFAULT false,
update_time timestamp with time zone NOT NULL DEFAULT CURRENT_TIMESTAMP,
UNIQUE ("job_type")
);