few more useful indices on tag_packages
This commit is contained in:
parent
e39d92164f
commit
c775031e9d
1 changed files with 3 additions and 0 deletions
|
|
@ -594,6 +594,9 @@ CREATE TABLE tag_packages (
|
|||
UNIQUE (package_id,tag_id,active)
|
||||
) WITHOUT OIDS;
|
||||
CREATE INDEX tag_packages_active_tag_id ON tag_packages(active, tag_id);
|
||||
CREATE INDEX tag_packages_create_event ON tag_packages(create_event);
|
||||
CREATE INDEX tag_packages_revoke_event ON tag_packages(revoke_event);
|
||||
CREATE INDEX tag_packages_owner ON tag_packages(owner);
|
||||
|
||||
-- package groups (per tag). used for generating comps for the tag repos
|
||||
CREATE TABLE groups (
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue