ALTER TABLE organization_intakes
  DROP CONSTRAINT IF EXISTS organization_intakes_organization_id_unique;

DROP INDEX IF EXISTS organization_intakes_organization_id_unique;
DROP INDEX IF EXISTS organization_intakes_organization_id_key;

CREATE INDEX IF NOT EXISTS org_intakes_org_created_idx
  ON organization_intakes (organization_id, created_at);

CREATE INDEX IF NOT EXISTS org_intakes_org_updated_idx
  ON organization_intakes (organization_id, updated_at);
