method
remove_timestamps
v3.0.0 -
Show latest stable
- Class:
ActiveRecord::ConnectionAdapters::SchemaStatements
remove_timestamps(table_name)public
Removes the timestamp columns (created_at and updated_at) from the table definition.
Examples
remove_timestamps(:suppliers)