mailr/db/migrate/20110724134917_add_params_to_prefs.rb

12 lines
272 B
Ruby
Raw Normal View History

2011-07-24 15:56:47 +02:00
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