ALTER TABLE {$NAMESPACE}_project.project
  ADD UNIQUE KEY `key_primaryslug` (primarySlug);