From 4dea022f82a82a1d83ce378726355004ed67a931 Mon Sep 17 00:00:00 2001 From: nixx Date: Tue, 22 Sep 2020 09:38:57 +0300 Subject: [PATCH] published 0.4.3 --- lib/clickhouse-activerecord/version.rb | 2 +- lib/tasks/clickhouse.rake | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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