guoren/db/migrate/20161129085653_add_title_to...

6 lines
126 B
Ruby

class AddTitleToMicroPosts < ActiveRecord::Migration[5.0]
def change
add_column :micro_posts, :title, :string
end
end