instance method
rename_table
Ruby on Rails 4.2.9
Since v2.2.3Signature
rename_table(table_name, new_name)
Renames a table.
rename_table('octopuses', 'octopi')
Parameters
-
table_namereq -
new_namereq
Source
# File activerecord/lib/active_record/connection_adapters/abstract/schema_statements.rb, line 385
def rename_table(table_name, new_name)
raise NotImplementedError, "rename_table is not implemented"
end
Defined in activerecord/lib/active_record/connection_adapters/abstract/schema_statements.rb line 385
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActiveRecord::ConnectionAdapters::SchemaStatements