Sha256: 67d696a6a30581d0bfeeab222bcd569984c66132423fe301adce8b1750203e97
Contents?: true
Size: 397 Bytes
Versions: 6
Compression:
Stored size: 397 Bytes
Contents
module Timescaledb class Job < ActiveRecord::Base self.table_name = "timescaledb_information.jobs" self.primary_key = "job_id" scope :compression, -> { where(proc_name: [:tsbs_compress_chunks, :policy_compression]) } scope :refresh_continuous_aggregate, -> { where(proc_name: :policy_refresh_continuous_aggregate) } scope :scheduled, -> { where(scheduled: true) } end end
Version data entries
6 entries across 6 versions & 1 rubygems