method

rename_table

Importance_1
Ruby on Rails latest stable (v7.1.3.2) - 0 notes - Class: ActiveRecord::ConnectionAdapters::SQLite3Adapter
rename_table(table_name, new_name, **options) public

Renames a table.

Example:

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