1. 24 Sep, 2017 1 commit
  2. 23 Sep, 2017 2 commits
    • Yorick Peterse's avatar
      Merge branch 'sh-fix-issue-38246' into 'master' · b1464157
      Yorick Peterse authored
      Fix duplicate key errors in PostDeployMigrateUserExternalMailData migration
      
      Closes #38246
      
      See merge request gitlab-org/gitlab-ce!14460
      b1464157
    • Stan Hu's avatar
      Fix duplicate key errors in PostDeployMigrateUserExternalMailData migration · 2e564ddf
      Stan Hu authored
      `email_provider` by default is NULL, and if a user had not logged the
      value would remain NULL. Upgrading to GitLab 10.0 would lead to a
      PG::UniqueViolation because the post-deploy migration would attempt
      to reinsert the entry because the NULL comparison between
      `users.email_provider` and `user_synced_attributes_metadata.email_provider`
      would never match.
      
      Closes #38246
      2e564ddf
  3. 22 Sep, 2017 37 commits