This index speeds up inserting new entries to the package_metadata table. Signed-off-by: Christopher Baines <mail@cbaines.net>
7 lines
164 B
PL/PgSQL
7 lines
164 B
PL/PgSQL
-- Deploy guix-data-service:package_metadata_location_id_index to pg
|
|
|
|
BEGIN;
|
|
|
|
CREATE INDEX package_metadata_location_id ON package_metadata (location_id);
|
|
|
|
COMMIT;
|