method

rename_table

Importance_1
v3.2.8 - Show latest stable - 0 notes - Class: ActiveRecord::ConnectionAdapters::SQLiteAdapter
rename_table(name, new_name) public

Renames a table.

Example:

rename_table('octopuses', 'octopi')
Show source
Register or log in to add new notes.