Welcome to mirror list, hosted at ThFree Co, Russian Federation.

load_schema_versions_mixin.rb « postgresql_database_tasks « database « gitlab « lib - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 30060ecb34fefe9dc10bc5d3dbf907e6c8e72378 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
# frozen_string_literal: true

module Gitlab
  module Database
    module PostgresqlDatabaseTasks
      module LoadSchemaVersionsMixin
        extend ActiveSupport::Concern

        def structure_load(...)
          super(...)

          Gitlab::Database::SchemaMigrations.load_all(connection)
        end
      end
    end
  end
end