From 11410f9b86b9f137d9a1ea7acde24ef2f82c177e Mon Sep 17 00:00:00 2001 From: lovelyzhang Date: Tue, 27 Dec 2016 11:51:36 +0800 Subject: [PATCH] zy: add new column to micro_posts --- ...20161227034933_add_engaged_people_names_to_micro_posts.rb | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 db/migrate/20161227034933_add_engaged_people_names_to_micro_posts.rb diff --git a/db/migrate/20161227034933_add_engaged_people_names_to_micro_posts.rb b/db/migrate/20161227034933_add_engaged_people_names_to_micro_posts.rb new file mode 100644 index 0000000..c9bf3f8 --- /dev/null +++ b/db/migrate/20161227034933_add_engaged_people_names_to_micro_posts.rb @@ -0,0 +1,5 @@ +class AddEngagedPeopleNamesToMicroPosts < ActiveRecord::Migration[5.0] + def change + add_column :micro_posts, :engaged_people_names, :text + end +end