Commit b0dcf7bd07db56237eb8f127573384e9914aaca0
1 parent
7310a936
Exists in
master
and in
3 other branches
Change timestamp of dependent migration
Signed-off-by: Arthur Del Esposte <arthurmde@gmail.com> Signed-off-by: Marcos Ronaldo <marcos.rpj2@gmail.com> Signed-off-by: Tallys Martins <tallysmartins@gmail.com>
Showing
2 changed files
with
11 additions
and
11 deletions
Show diff stats
db/migrate/20150714123613_add_institution_to_organization_rating.rb
db/migrate/20150910203559_add_institution_to_organization_rating.rb
0 → 100644
| @@ -0,0 +1,11 @@ | @@ -0,0 +1,11 @@ | ||
| 1 | +class AddInstitutionToOrganizationRating < ActiveRecord::Migration | ||
| 2 | + def up | ||
| 3 | + change_table :organization_ratings do |t| | ||
| 4 | + t.belongs_to :institution | ||
| 5 | + end | ||
| 6 | + end | ||
| 7 | + | ||
| 8 | + def down | ||
| 9 | + remove_column :organization_ratings, :institution_id | ||
| 10 | + end | ||
| 11 | +end | ||
| 0 | \ No newline at end of file | 12 | \ No newline at end of file |