• Lin Jen-Shin's avatar
    Reset only migration models · af1f9165
    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
    ```
    af1f9165
migrations_helpers.rb 907 Bytes