Flowdock
add_timestamps(table_name, options = {}) public

Adds timestamps (created_at and updated_at) columns to table_name. Additional options (like null: false) are forwarded to #add_column.

add_timestamps(:suppliers, null: false)
Show source
Register or log in to add new notes.