rename_table(table_name, new_name)
Instance Public methods
Renames a table. Also renames a table's primary key sequence if the sequence name matches the Active Record default.
Example:
rename_table('octopuses', 'octopi')
Renames a table. Also renames a table's primary key sequence if the sequence name matches the Active Record default.
Example:
rename_table('octopuses', 'octopi')
Please login to continue.