discourse/db
Krzysztof Kotlarek 7426764af4
FIX: Optimize move to dismiss_new_topics migration (#12041)
This migration is quite heavy because of join to all potential topics which should be `dismissed` for each user. To make it a little bit more efficient I did two things:
- move conditions to join so it should use fewer rows
- do that in batches - 1000 users at the time
2021-02-11 16:05:38 -05:00
..
fixtures FEATURE: WCAG compliant color schemes (#10882) 2020-10-15 14:05:48 -04:00
migrate FIX: Optimize move to dismiss_new_topics migration (#12041) 2021-02-11 16:05:38 -05:00
post_migrate FIX: Topic timer duration_minutes was not backfilled correctly (#12004) 2021-02-08 09:33:08 +10:00
api_test_seeds.rb DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00