Sha256: f4bb57cdbb095c8d2c932d88890487edea12d6c4c32bb747e1ca43f05cfb8ada

Contents?: true

Size: 353 Bytes

Versions: 4

Compression:

Stored size: 353 Bytes

Contents

class Event
  include DataMapper::Resource

  timestamps :at

  belongs_to :check

  property :id, Serial, :key => true
  property :check_id, Integer, :nullable => false
  #property :check_output, Text, :nullable => false

  # dm-timestamps
  property :created_at, DateTime
  property :updated_at, DateTime
  property :deleted_at, ParanoidDateTime

end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
flapjack-0.5.5 lib/flapjack/persistence/data_mapper/models/event.rb
flapjack-0.5.4 lib/flapjack/persistence/data_mapper/models/event.rb
flapjack-0.5.3 lib/flapjack/persistence/data_mapper/models/event.rb
flapjack-0.5.1 lib/flapjack/persistence/data_mapper/models/event.rb