instance method
remove_timestamps
Ruby on Rails 6.1.7.10
Since v2.2.3Signature
remove_timestamps(**options)
Removes the timestamp columns (created_at and updated_at) from the table.
t.remove_timestamps
Parameters
-
optionskeyrest
Source
# File activerecord/lib/active_record/connection_adapters/abstract/schema_definitions.rb, line 719
def remove_timestamps(**options)
@base.remove_timestamps(name, **options)
end
Defined in activerecord/lib/active_record/connection_adapters/abstract/schema_definitions.rb line 719
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActiveRecord::ConnectionAdapters::Table