Enable/disable channel

Fixes: https://pagure.io/koji/issue/1851
This commit is contained in:
Jana Cupova 2021-06-21 11:11:11 +02:00 committed by Tomas Kopecek
parent a844de42ff
commit bc2a51350d
23 changed files with 659 additions and 80 deletions

View file

@ -136,7 +136,9 @@ CREATE INDEX sessions_expired ON sessions(expired);
CREATE TABLE channels (
id SERIAL NOT NULL PRIMARY KEY,
name VARCHAR(128) UNIQUE NOT NULL,
description TEXT
description TEXT,
enabled BOOLEAN NOT NULL DEFAULT 'true',
comment TEXT
) WITHOUT OIDS;
-- create default channel