method
timestamps
v4.2.7 -
Show latest stable
- Class:
ActiveRecord::ConnectionAdapters::Table
timestamps(options = {})public
Adds timestamps (created_at and updated_at) columns to the table. See SchemaStatements#add_timestamps
t.timestamps null: false