gitlab-org--gitlab-foss/db
Yorick Peterse 3883bc05d2
Remove notification settings in batches
This improves performance of the duplicate notification settings
migration by removing duplicates in batches instead of using one big
"DELETE FROM" query.

The previous query would locally run over 45 minutes without even
finishing. This new setup finished in a matter of seconds.

Fixes #18289
2016-06-08 16:20:42 +02:00
..
fixtures Merge remote-tracking branch 'origin/master' into rename-ci-commit-phase-2 2016-06-07 10:26:27 +02:00
migrate Remove notification settings in batches 2016-06-08 16:20:42 +02:00
schema.rb Remove notification settings in batches 2016-06-08 16:20:42 +02:00
seeds.rb init commit 2011-10-09 00:36:38 +03:00