method
timestamps
v4.2.9 -
Show latest stable
- Class:
ActiveRecord::ConnectionAdapters::TableDefinition
timestamps(*args)public
Appends :datetime columns :created_at and :updated_at to the table. See SchemaStatements#add_timestamps
t.timestamps null: false