Renaming table in rails

后端 未结 0 327
無奈伤痛
無奈伤痛 2020-12-23 03:12

I want to rename a table... (any table.)

I tried this line of code:

ActiveRecord::ConnectionAdapters::SchemaStatements.rename_table(old_name, new_nam         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题