• Timothy Andrew's avatar
    Implement review comments from @yorickpeterse · 8957293d
    Timothy Andrew authored
    1. Change multiple updates to a single `update_all`
    
    2. Use cascading deletes
    
    3. Extract an average function for the database median.
    
    4. Move database median to `lib/gitlab/database`
    
    5. Use `delete_all` instead of `destroy_all`
    
    6. Minor refactoring
    8957293d
median.rb 3.9 KB