method

timestamps

Importance_1
v6.1.7.7 - 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.