gitlab-org--gitlab-foss/db
Stan Hu 2e564ddfc7 Fix duplicate key errors in PostDeployMigrateUserExternalMailData migration
`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
2017-09-22 22:45:25 -04:00
..
fixtures Remove depreceted and big projects 2017-09-20 07:42:47 +00:00
migrate Fix duplicate key errors in PostDeployMigrateUserExternalMailData migration 2017-09-22 22:45:25 -04:00
post_migrate Fix duplicate key errors in PostDeployMigrateUserExternalMailData migration 2017-09-22 22:45:25 -04:00
schema.rb Index projects on repository storage 2017-09-21 13:29:25 +01:00
seeds.rb