timestamps() public

Adds timestamps (created_at and updated_at) columns to the table. See SchemaStatements#add_timestamps

Example
 t.timestamps
Show source
Register or log in to add new notes.