ALTER TABLE {$NAMESPACE}_herald.herald_ruleapplied
  ADD KEY (phid);