wblog/db/migrate/20160421062614_rename_colum...

6 lines
137 B
Ruby

class RenameColumnContentToComments < ActiveRecord::Migration[5.0]
def change
rename_column :comments, :conent, :content
end
end