Fix migration that builds user_interacted_projects table

During the RC4 deploy, we ran into an issue with this migration: https://gitlab.com/gitlab-org/gitlab-ce/blob/master/db/post_migrate/20180223124427_build_user_interacted_projects_table.rb

We were unable to build the unique index because of concurrent inserts into the table during the migration.

Assignee Loading
Time tracking Loading