Sha256: ed99c8166608e071dcf3d9e2d9666a32c57e139be063a4477323f4ef9c841968
Contents?: true
Size: 311 Bytes
Versions: 1
Compression:
Stored size: 311 Bytes
Contents
module Timescale class JobStats < ActiveRecord::Base self.table_name = "timescaledb_information.job_stats" belongs_to :job attribute :last_run_duration, :interval scope :success, -> { where(last_run_status: "Success") } scope :scheduled, -> { where(job_status: "Scheduled") } end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
timescaledb-0.1.0 | lib/timescale/job_stats.rb |