Sha256: 6d71703695e0af0da1dc9990ef8b447487338400fea476d522e8b5ac2578ab28

Contents?: true

Size: 177 Bytes

Versions: 2

Compression:

Stored size: 177 Bytes

Contents

require 'active_record'

module Crono
  class CronoJob < ActiveRecord::Base
    self.table_name = "crono_jobs"
    validates :job_id, presence: true, uniqueness: true
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
crono-0.7.0 lib/crono/orm/active_record/crono_job.rb
crono-0.6.1 lib/crono/orm/active_record/crono_job.rb