Method: MotionRecord::Schema::TableDefinition#timestamps
- Defined in:
- lib/motion_record/schema/table_definition.rb
#timestamps ⇒ Object
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 self.integer(:created_at) self.integer(:updated_at) end |