cybre-space/db
Eugen Rochko 19b4c666f7
Improve account index migration (#7684)
* Improve account index migration

- Display more progress in stdout
- Catch PG::UniqueViolation when re-attributing favourites
- Skip callbacks and validations when re-attributing other relationships

* Use in_batches to reduce table lock-up during account merge

* Use #say_with_time to benchmark each deduplication
2018-05-31 17:09:09 +02:00
..
migrate Improve account index migration (#7684) 2018-05-31 17:09:09 +02:00
schema.rb Deduplicate accounts and make unique username/domain index case-insensitive (#7658) 2018-05-30 02:51:26 +02:00
seeds.rb Fix db:seed - only run some validations when the field was changed (#3592) 2017-06-08 09:22:01 -04:00