CREATE INDEX jis_events_type_orgname_apend_idx
ON jis_events ("type", organization_name, active_period_end);

CREATE INDEX jis_events_orgname_idx
ON jis_events (organization_name);

CREATE INDEX jis_events_period_start_idx
ON jis_events (display_period_start);

CREATE INDEX jis_events_period_end_idx
ON jis_events (display_period_end);

ALTER TABLE jis_events
ALTER COLUMN description_html SET NOT NULL;

ALTER TABLE jis_events
ALTER COLUMN display_period_start SET NOT NULL;
