lib/timescaledb/scenic/extension.rb in timescaledb-0.2.8 vs lib/timescaledb/scenic/extension.rb in timescaledb-0.2.9

- old
+ new

@@ -23,11 +23,10 @@ SQL end # @override Scenic::Adapters::Postgres#create_view # to add the `with: ` keyword that can be used for such option. - # def create_view(name, version: nil, with: nil, sql_definition: nil, materialized: false, no_data: false) if version.present? && sql_definition.present? raise( ArgumentError, "sql_definition and version cannot both be set", @@ -67,6 +66,6 @@ end end Scenic::Adapters::Postgres.include(Timescaledb::Scenic::Extension) -ActiveRecord::ConnectionAdapters::AbstractAdapter.include(Timescaledb::Scenic::MigrationHelpers) +ActiveRecord::ConnectionAdapters::AbstractAdapter.prepend(Timescaledb::Scenic::MigrationHelpers)