method

timestamps

Importance_1
v7.1.3.2 - Show latest stable - 0 notes - Class: TableDefinition
timestamps(**options) public

Appends :datetime columns :created_at and :updated_at to the table. See {connection.add_timestamps}[rdoc-ref:SchemaStatements#add_timestamps]

t.timestamps null: false
Show source
Register or log in to add new notes.