mirror of
https://gitlab.com/gitlab-org/gitlab-foss.git
synced 2025-08-13 13:31:19 +00:00
20 lines
516 B
Ruby
20 lines
516 B
Ruby
# frozen_string_literal: true
|
|
|
|
module Gitlab
|
|
module Database
|
|
module SchemaMigrations
|
|
def self.touch_all(connection)
|
|
context = Gitlab::Database::SchemaMigrations::Context.new(connection)
|
|
|
|
Gitlab::Database::SchemaMigrations::Migrations.new(context).touch_all
|
|
end
|
|
|
|
def self.load_all(connection)
|
|
context = Gitlab::Database::SchemaMigrations::Context.new(connection)
|
|
|
|
Gitlab::Database::SchemaMigrations::Migrations.new(context).load_all
|
|
end
|
|
end
|
|
end
|
|
end
|