Skip to content

Commit

Permalink
published 1.0.7 - fix db tasks
Browse files Browse the repository at this point in the history
  • Loading branch information
PNixx committed Apr 27, 2024
1 parent d00fa07 commit 72829db
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 2 deletions.
9 changes: 9 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,12 @@
### Version 1.0.7 (Apr 27, 2024)

* Support table indexes
* Fix non-canonical UUID by [@PauloMiranda98](https://github.com/PauloMiranda98) in (#117)
* Fix precision loss due to JSON float parsing by [@jenskdsgn](https://github.com/jenskdsgn) in (#129)
* Support functions by [@felix-dumit](https://github.com/felix-dumit) in (#120)
* Hotfix/rails71 change column by [@trumenov](https://github.com/trumenov) in (#132)
* Fix DB tasks

### Version 1.0.5 (Mar 14, 2024)

* GitHub workflows
Expand Down
6 changes: 5 additions & 1 deletion lib/clickhouse-activerecord/tasks.rb
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@ module ClickhouseActiverecord
class Tasks
delegate :connection, :establish_connection, to: ActiveRecord::Base

def self.using_database_configurations?
true
end

def initialize(configuration)
@configuration = configuration
end
Expand Down Expand Up @@ -50,7 +54,7 @@ def structure_dump(*args)
functions.each do |function|
file.puts function + ";\n\n"
end

tables.each do |table|
file.puts table + ";\n\n"
end
Expand Down
2 changes: 1 addition & 1 deletion lib/clickhouse-activerecord/version.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
module ClickhouseActiverecord
VERSION = '1.0.6'
VERSION = '1.0.7'
end

0 comments on commit 72829db

Please sign in to comment.