discourse/db/post_migrate
Sam b3920e05e7
PERF: avoid table scan while performing a very large update (#24525)
We were seeing lots of deadlocks deploying this migration. This improves
the situation in 2 ways.

1. ddl transaction is avoided, so we hold locks for far shorter times
2. we operate in chunks of a maximum of 100_000 posts (though it is heavily filtered down)

* improve code so it is clearer
2023-11-23 18:15:40 +11:00
..
20230104054426_delete_old_rate_limit_search_anon.rb FEATURE: rate limit anon searches per second (#19708) 2023-01-27 10:05:27 -08:00
20230105153520_trigger_post_rebake_local_onebox_xss.rb SECURITY: Prevent XSS in local oneboxes (#20008) 2023-01-25 19:17:21 +02:00
20230113002617_reindex_invalid_indexes.rb FIX: Add migration to reindex invalid indexes (#19858) 2023-01-13 11:04:26 +08:00
20230117143451_drop_invalid_drafts.rb SECURITY: Limit the length of drafts (#19989) 2023-01-25 13:50:21 +02:00
20230119024157_remove_topic_count_from_tags.rb SECURITY: Default tags to show count of topics in unrestricted categories (#19916) 2023-01-20 09:50:24 +08:00
20230119091939_drop_orphaned_reviewable_flagged_posts.rb FIX: Delete reviewables associated to posts automatically 2023-01-25 09:45:36 +01:00
20230224225129_backfill_svg_sprites.rb DEV: Store theme sprites in the DB (#20501) 2023-03-14 13:11:45 -05:00
20230228105851_drop_badge_granted_title_column.rb DEV: Remove badge_granted_title column from user_profiles (#20476) 2023-03-08 13:37:20 +01:00
20230405121454_update_password_algorithm_post_deploy.rb FEATURE: Persist password hashing algorithm/params in database (#20980) 2023-04-11 10:16:28 +01:00
20230823095931_add_limit_to_user_second_factor_name.rb SECURITY: Limit name field length of TOTP authenticators and security keys 2023-09-12 15:31:17 -03:00
20230823100627_add_limit_to_user_security_key_name.rb SECURITY: Limit name field length of TOTP authenticators and security keys 2023-09-12 15:31:17 -03:00
20230926165821_drop_post_uploads_table.rb DEV: Drop post_uploads table (#23673) 2023-09-27 12:43:19 +01:00
20231120190818_trigger_post_rebake_category_style_quotes.rb PERF: avoid table scan while performing a very large update (#24525) 2023-11-23 18:15:40 +11:00