guoren/db/migrate/20161129023303_fix_micro_po...

6 lines
123 B
Ruby
Raw Permalink Normal View History

2016-12-22 20:05:38 +08:00
class FixMicroPost < ActiveRecord::Migration[5.0]
def change
rename_column :micro_posts, :type, :post_type
end
end