Commit 45c3227bc1b7dd5f9a6ad133ccb73c79445440b3
Committed by
Álvaro Fernando Matos de Souza
1 parent
3231cca5
Exists in
master
and in
5 other branches
Add people_benefited and saved_value to communties ratings task
Showing
2 changed files
with
16 additions
and
0 deletions
Show diff stats
db/migrate/20150814185902_add_people_benefited_and_saved_value_to_create_community_rating_comment.rb
0 → 100644
@@ -0,0 +1,11 @@ | @@ -0,0 +1,11 @@ | ||
1 | +class AddPeopleBenefitedAndSavedValueToCreateCommunityRatingComment < ActiveRecord::Migration | ||
2 | + def up | ||
3 | + add_column :tasks, :people_benefited, :integer | ||
4 | + add_column :tasks, :saved_value, :decimal | ||
5 | + end | ||
6 | + | ||
7 | + def down | ||
8 | + remove_column :tasks, :people_benefited | ||
9 | + remove_column :tasks, :saved_value | ||
10 | + end | ||
11 | +end |