Commit 742da74aa31efbcf2f0c86defe885a3332e1e04a
1 parent
5cab79d3
Exists in
master
and in
4 other branches
Change coupled migration timestamp in order to not depends on the running order
Showing
2 changed files
with
11 additions
and
11 deletions
Show diff stats
db/migrate/20150814185902_add_people_benefited_and_saved_value_to_organization_rating.rb
@@ -1,11 +0,0 @@ | @@ -1,11 +0,0 @@ | ||
1 | -class AddPeopleBenefitedAndSavedValueToOrganizationRating < ActiveRecord::Migration | ||
2 | - def up | ||
3 | - add_column :organization_ratings, :people_benefited, :integer | ||
4 | - add_column :organization_ratings, :saved_value, :decimal | ||
5 | - end | ||
6 | - | ||
7 | - def down | ||
8 | - remove_column :organization_ratings, :people_benefited | ||
9 | - remove_column :organization_ratings, :saved_value | ||
10 | - end | ||
11 | -end |
db/migrate/20150914185902_add_people_benefited_and_saved_value_to_organization_rating.rb
0 → 100644
@@ -0,0 +1,11 @@ | @@ -0,0 +1,11 @@ | ||
1 | +class AddPeopleBenefitedAndSavedValueToOrganizationRating < ActiveRecord::Migration | ||
2 | + def up | ||
3 | + add_column :organization_ratings, :people_benefited, :integer | ||
4 | + add_column :organization_ratings, :saved_value, :decimal | ||
5 | + end | ||
6 | + | ||
7 | + def down | ||
8 | + remove_column :organization_ratings, :people_benefited | ||
9 | + remove_column :organization_ratings, :saved_value | ||
10 | + end | ||
11 | +end |