guoren/db/migrate/20161129023303_fix_micro_po...

6 lines
123 B
Ruby

class FixMicroPost < ActiveRecord::Migration[5.0]
def change
rename_column :micro_posts, :type, :post_type
end
end