block inherited extra tag info

Fixes: https://pagure.io/koji/issue/2283
This commit is contained in:
Tomas Kopecek 2020-09-17 16:43:58 +02:00
parent 98ebd872bf
commit 08494de774
5 changed files with 70 additions and 19 deletions

View file

@ -394,7 +394,7 @@ CREATE TABLE tag_config (
CREATE TABLE tag_extra (
tag_id INTEGER NOT NULL REFERENCES tag(id),
key TEXT NOT NULL,
value TEXT NOT NULL, -- TODO - move this to jsonb when we can
value TEXT,
-- versioned - see desc above
create_event INTEGER NOT NULL REFERENCES events(id) DEFAULT get_event(),
revoke_event INTEGER REFERENCES events(id),