guoren/db/migrate/20161129085653_add_title_to...

6 lines
126 B
Ruby
Raw Permalink Normal View History

2016-12-22 20:05:38 +08:00
class AddTitleToMicroPosts < ActiveRecord::Migration[5.0]
def change
add_column :micro_posts, :title, :string
end
end