method
remove_timestamps

Ruby on Rails latest stable (v5.2.3)
-
0 notes -
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)