Fixes for voting on proposals. 0 for no voting option. Set default value in migration to avoid blank/null problems.

This commit is contained in:
Stella 2013-12-28 15:29:50 +02:00
parent 125d5fe3ff
commit de1ed9be2b
3 changed files with 10 additions and 2 deletions

View file

@ -0,0 +1,8 @@
class ChangeDefaultRatingInCallForPapers < ActiveRecord::Migration
def up
change_column :call_for_papers, :rating, :integer, :default => 3
end
def down
end
end