@@ -23612,7 +23612,7 @@ CREATE INDEX index_on_oncall_schedule_escalation_rule ON incident_management_esc
CREATE INDEX index_on_pages_metadata_not_migrated ON project_pages_metadata USING btree (project_id) WHERE ((deployed = true) AND (pages_deployment_id IS NULL));
CREATE UNIQUE INDEX index_on_policy_schedule_status_elapsed_time_escalation_rules ON incident_management_escalation_rules USING btree (policy_id, oncall_schedule_id, status, elapsed_time);
CREATE UNIQUE INDEX index_on_policy_schedule_status_elapsed_time_escalation_rules ON incident_management_escalation_rules USING btree (policy_id, oncall_schedule_id, status, elapsed_time_seconds);
CREATE INDEX index_on_project_escalation_rule ON incident_management_escalation_rules USING btree (policy_id);
validates:policy_id,uniqueness: {scope: [:oncall_schedule_id,:status,:elapsed_time],message: _('Must have a unique policy, status, and elapsed time')}
validates:policy_id,uniqueness: {scope: [:oncall_schedule_id,:status,:elapsed_time_seconds],message: _('Must have a unique policy, status, and elapsed time')}
it{is_expected.tovalidate_uniqueness_of(:policy_id).scoped_to([:oncall_schedule_id,:status,:elapsed_time]).with_message('Must have a unique policy, status, and elapsed time')}
it{is_expected.tovalidate_uniqueness_of(:policy_id).scoped_to([:oncall_schedule_id,:status,:elapsed_time_seconds]).with_message('Must have a unique policy, status, and elapsed time')}