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