Method: ActiveRecord::ConnectionAdapters::SchemaStatements#remove_timestamps
- Defined in:
- activerecord/lib/active_record/connection_adapters/abstract/schema_statements.rb
#remove_timestamps(table_name, **options) ⇒ Object
Removes the timestamp columns (created_at and updated_at) from the table definition.
(:suppliers)
1468 1469 1470 |
# File 'activerecord/lib/active_record/connection_adapters/abstract/schema_statements.rb', line 1468 def (table_name, **) remove_columns table_name, :updated_at, :created_at end |