mirror of
https://github.com/TracksApp/tracks.git
synced 2025-12-16 15:20:13 +01:00
10 lines
243 B
Ruby
10 lines
243 B
Ruby
class AddNextReviewPreferences < ActiveRecord::Migration[5.2]
|
|
|
|
def self.up
|
|
add_column :preferences, :review_period, :integer, :default => 14, :null => false
|
|
end
|
|
|
|
def self.down
|
|
remove_column :preferences, :review_period
|
|
end
|
|
end
|