Module: ClickHouse::SchemaMigrations
- Defined in:
- lib/click_house/schema_migrations.rb,
lib/click_house/schema_migrations/context.rb,
lib/click_house/schema_migrations/migrations.rb
Defined Under Namespace
Classes: Context, Migrations
Class Method Summary collapse
Class Method Details
.load_all(connection, database) ⇒ Object
11 12 13 14 15 |
# File 'lib/click_house/schema_migrations.rb', line 11 def self.load_all(connection, database) context = ClickHouse::SchemaMigrations::Context.new(connection, database) ClickHouse::SchemaMigrations::Migrations.new(context).load_all end |
.touch_all(connection, database) ⇒ Object
5 6 7 8 9 |
# File 'lib/click_house/schema_migrations.rb', line 5 def self.touch_all(connection, database) context = ClickHouse::SchemaMigrations::Context.new(connection, database) ClickHouse::SchemaMigrations::Migrations.new(context).touch_all end |