method
add_timestamps

add_timestamps(table_name, options = {})
public
Adds timestamps (created_at and updated_at) columns to table_name. Additional options (like :null) are forwarded to #add_column.
add_timestamps(:suppliers, null: true)