added preference settings

This commit is contained in:
sfischme 2011-09-15 21:06:50 -04:00
parent 77b6c931ca
commit 33befa88b3
4 changed files with 13 additions and 10 deletions

View file

@ -0,0 +1,8 @@
class AddNextReviewPreferences < ActiveRecord::Migration
def self.up
add_column :preferences, :review_period, :integer, :default => 14, :null => false
end
def self.down
remove_column :preferences, :review_period
end
end