add index
This commit is contained in:
parent
a72d9a200b
commit
0f8238dd33
2 changed files with 2 additions and 0 deletions
|
|
@ -168,6 +168,7 @@ CREATE TABLE host_config (
|
|||
PRIMARY KEY (create_event, host_id),
|
||||
UNIQUE (host_id, active)
|
||||
) WITHOUT OIDS;
|
||||
CREATE INDEX host_config_by_active_and_enabled ON host_config(active, enabled)
|
||||
|
||||
CREATE TABLE host_channels (
|
||||
host_id INTEGER NOT NULL REFERENCES host(id),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue