Class: Gitlab::Database::Migration::V1_0::MigrationRecord
- Inherits:
-
ActiveRecord::Base
- Object
- ActiveRecord::Base
- Gitlab::Database::Migration::V1_0::MigrationRecord
- Defined in:
- lib/gitlab/database/migration.rb
Overview
When running migrations, the ‘db:migrate` switches connection of ActiveRecord::Base depending where the migration runs. This helper class is provided to avoid confusion using `ActiveRecord::Base`