From 28b8b58030ee42d5d47dabf25ac9d0411b2dba0c Mon Sep 17 00:00:00 2001 From: Stella Date: Sat, 28 Dec 2013 15:51:37 +0200 Subject: [PATCH] migration, add down func --- .../20131228132353_change_default_rating_in_call_for_papers.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/db/migrate/20131228132353_change_default_rating_in_call_for_papers.rb b/db/migrate/20131228132353_change_default_rating_in_call_for_papers.rb index adaaac75..d81556d7 100644 --- a/db/migrate/20131228132353_change_default_rating_in_call_for_papers.rb +++ b/db/migrate/20131228132353_change_default_rating_in_call_for_papers.rb @@ -4,5 +4,6 @@ class ChangeDefaultRatingInCallForPapers < ActiveRecord::Migration end def down + change_column :call_for_papers, :rating, :integer, :null => 1 end end