Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

`lib/gitlab/database/migrations/observers/migration_observer.rb` should work with many databases

Currently, our observers are using ActiveRecord::Base.connection to collect metrics from the migrations.

We should use ActiveRecord::Migration.connection to fetch the currently established connection instead of using ActiveRecord::Base.

Edited by Diogo Frazão
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information