lib/timescaledb/continuous_aggregates.rb in timescaledb-0.2.5 vs lib/timescaledb/continuous_aggregates.rb in timescaledb-0.2.6
- old
+ new
@@ -1,6 +1,6 @@
module Timescaledb
- class ContinuousAggregate < ActiveRecord::Base
+ class ContinuousAggregate < ::Timescaledb::ApplicationRecord
self.table_name = "timescaledb_information.continuous_aggregates"
self.primary_key = 'materialization_hypertable_name'
has_many :jobs, foreign_key: "hypertable_name",
class_name: "Timescaledb::Job"