diff --git a/lib/clickhouse-activerecord/version.rb b/lib/clickhouse-activerecord/version.rb index 0d0998cf..6d2c9f8d 100644 --- a/lib/clickhouse-activerecord/version.rb +++ b/lib/clickhouse-activerecord/version.rb @@ -1,3 +1,3 @@ module ClickhouseActiverecord - VERSION = '0.4.2' + VERSION = '0.4.3' end diff --git a/lib/tasks/clickhouse.rake b/lib/tasks/clickhouse.rake index d07c7fb8..15e098a5 100644 --- a/lib/tasks/clickhouse.rake +++ b/lib/tasks/clickhouse.rake @@ -73,7 +73,7 @@ namespace :clickhouse do desc 'Migrate the clickhouse database' task migrate: [:load_config, :prepare_schema_migration_table, :prepare_internal_metadata_table] do Rake::Task['db:migrate'].execute - if File.exists? "#{Rails.root}/db/clickhouse_schema_default.rb" + if File.exists? "#{Rails.root}/db/clickhouse_schema_simple.rb" Rake::Task['clickhouse:schema:dump'].execute(simple: true) end end