Browse Source

Fixed index name

pull/2216/head
Andrew Shvayka 7 years ago
parent
commit
3ae7434327
  1. 2
      dao/src/main/resources/sql/schema-entities-idx.sql

2
dao/src/main/resources/sql/schema-entities-idx.sql

@ -14,7 +14,7 @@
-- limitations under the License. -- limitations under the License.
-- --
CREATE INDEX IF NOT EXISTS idx_alarm_originator_alarm_type ON alarm(originator_id, type, startTs DESC); CREATE INDEX IF NOT EXISTS idx_alarm_originator_alarm_type ON alarm(originator_id, type, start_ts DESC);
CREATE INDEX IF NOT EXISTS idx_event_type_entity_id ON event(tenant_id, event_type, entity_type, entity_id); CREATE INDEX IF NOT EXISTS idx_event_type_entity_id ON event(tenant_id, event_type, entity_type, entity_id);

Loading…
Cancel
Save