-- The collections a part of the tree answers from when a request names -- none (BACKLOG F3): on an organization, team, project or key, the narrowest -- one that has any winning. PostgreSQL only, as the collections are. CREATE TABLE kb_defaults ( scope TEXT NOT NULL, scope_id TEXT NOT NULL, -- Collection IDs, comma separated, in the order given. collections TEXT NOT NULL, added_at BIGINT NOT NULL, added_by TEXT NOT NULL DEFAULT '', PRIMARY KEY (scope, scope_id) );