ALTER TABLE {$NAMESPACE}_project.project
  ADD UNIQUE KEY (phrictionSlug);