• 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
schema.rb 48.7 KB