method
remove_timestamps
v5.1.7 -
Show latest stable
- Class:
ActiveRecord::ConnectionAdapters::SchemaStatements
remove_timestamps(table_name, options = {})public
Removes the timestamp columns (created_at and updated_at) from the table definition.
remove_timestamps(:suppliers)