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

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

module Gitlab
  module Database
    module PostgresqlAdapter
      module DumpSchemaVersionsMixin
        extend ActiveSupport::Concern

        def dump_schema_information # :nodoc:
          versions = schema_migration.all_versions
          Gitlab::Database::SchemaVersionFiles.touch_all(versions) if versions.any?

          nil
        end
      end
    end
  end
end