mailr/db/migrate/20110724134917_add_params_to_prefs.rb
Wojciech Todryk 37f548ce46 devel
2011-07-27 20:34:30 +02:00

12 lines
272 B
Ruby
Executable file

class AddParamsToPrefs < ActiveRecord::Migration
def self.up
add_column :prefs, :msgs_per_page, :string
add_column :prefs, :msg_send_type, :string
end
def self.down
remove_column :prefs, :msg_send_type
remove_column :prefs, :msgs_per_page
end
end