Method: ActiveRecord::ConnectionAdapters::Table#timestamps

Defined in:
lib/active_record/connection_adapters/abstract/schema_definitions.rb

#timestampsObject

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

t.timestamps


396
397
398
# File 'lib/active_record/connection_adapters/abstract/schema_definitions.rb', line 396

def timestamps
  @base.add_timestamps(@table_name)
end