From 7fa972676a4bffb39b305f7888cf00a41268cf9a Mon Sep 17 00:00:00 2001 From: Vikhyat Korrapati Date: Tue, 10 Jun 2014 06:54:54 +0530 Subject: [PATCH] Add post_id to user_badges table. --- db/migrate/20140610012414_add_post_id_to_user_badges.rb | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 db/migrate/20140610012414_add_post_id_to_user_badges.rb diff --git a/db/migrate/20140610012414_add_post_id_to_user_badges.rb b/db/migrate/20140610012414_add_post_id_to_user_badges.rb new file mode 100644 index 000000000..26ecd890c --- /dev/null +++ b/db/migrate/20140610012414_add_post_id_to_user_badges.rb @@ -0,0 +1,5 @@ +class AddPostIdToUserBadges < ActiveRecord::Migration + def change + add_column :user_badges, :post_id, :integer + end +end