Sha256: 9da968d9d8edcd4f74a52718d3adbd25280e5cdfb2284cd458f9677a8e7a257d
Contents?: true
Size: 411 Bytes
Versions: 5
Compression:
Stored size: 411 Bytes
Contents
module Timescaledb class Job < ::Timescaledb::ApplicationRecord 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
5 entries across 5 versions & 1 rubygems