mirror of
https://github.com/TracksApp/tracks.git
synced 2025-12-18 16:20:12 +01:00
10 lines
271 B
Ruby
10 lines
271 B
Ruby
|
|
class AddMobileTodosPerPagePreference < ActiveRecord::Migration
|
||
|
|
def self.up
|
||
|
|
add_column :preferences, :mobile_todos_per_page, :integer, :null => false, :default => 6
|
||
|
|
end
|
||
|
|
|
||
|
|
def self.down
|
||
|
|
remove_column :preferences, :mobile_todos_per_page
|
||
|
|
end
|
||
|
|
end
|