标签: ruby-on-rails performance activerecord database-migration
Rails迁移可能会更改两列,如下所示:
change_column :users, :screen_name, :string, limit: 255 change_column :users, :full_name, :string, limit: 255
有没有办法让这些同时发生?