• Lin Jen-Shin's avatar
    Reset only migration models · 4d7c072d
    Lin Jen-Shin authored
    So that we could make sure migration tests could run even if
    geo is not setup in EE.
    
    This is because we have a model like this:
    
    ``` ruby
    class Geo::BaseRegistry < ActiveRecord::Base
      def self.connection
        raise 'Geo secondary database is not configured' unless Gitlab::Geo.geo_database_configured?
    
        super
      end
    end
    ```
    4d7c072d
migrations_helpers.rb 907 Bytes