Add indexes for custom_fields in device + device_port (#1045)

This commit is contained in:
Christian Ramseyer
2023-06-08 17:12:59 +02:00
committed by GitHub
parent cec6105105
commit 5d6697b035
2 changed files with 7 additions and 1 deletions

View File

@@ -0,0 +1,6 @@
BEGIN;
CREATE INDEX idx_device_custom_fields ON device USING gin (custom_fields);
CREATE INDEX idx_device_port_custom_fields ON device_port USING gin (custom_fields);
COMMIT;