Method: MotionRecord::Schema::TableDefinition#timestamps

Defined in:
lib/motion_record/schema/table_definition.rb

#timestampsObject

Add :created_at and :updated_at columns to the table



40
41
42
43
# File 'lib/motion_record/schema/table_definition.rb', line 40

def timestamps
  self.integer(:created_at)
  self.integer(:updated_at)
end