mirror of
https://github.com/gitlabhq/gitlabhq.git
synced 2025-07-25 17:08:32 +00:00
18 lines
492 B
Ruby
18 lines
492 B
Ruby
# frozen_string_literal: true
|
|
|
|
module ClickHouse
|
|
module SchemaMigrations
|
|
def self.touch_all(connection, database)
|
|
context = ClickHouse::SchemaMigrations::Context.new(connection, database)
|
|
|
|
ClickHouse::SchemaMigrations::Migrations.new(context).touch_all
|
|
end
|
|
|
|
def self.load_all(connection, database)
|
|
context = ClickHouse::SchemaMigrations::Context.new(connection, database)
|
|
|
|
ClickHouse::SchemaMigrations::Migrations.new(context).load_all
|
|
end
|
|
end
|
|
end
|