• Yorick Peterse's avatar
    Remove notification settings in batches · 3883bc05
    Yorick Peterse authored
    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
    3883bc05
20160603180330_remove_duplicated_notification_settings.rb 848 Bytes