mailr/db/migrate/20110908094506_add_msg_params_to_prefs.rb
Wojciech Todryk 7879dd49a2 devel
2011-09-09 22:10:25 +02:00

12 lines
305 B
Ruby
Executable file

class AddMsgParamsToPrefs < ActiveRecord::Migration
def self.up
add_column :prefs, :msg_image_view_as, :string
add_column :prefs, :msg_image_thumbnail_size, :string
end
def self.down
remove_column :prefs, :msg_image_thumbnail_size
remove_column :prefs, :msg_image_view_as
end
end