mailr/db/migrate/20110830070509_add_options_to_servers.rb

14 lines
337 B
Ruby
Raw Normal View History

2011-09-03 13:07:40 +02:00
class AddOptionsToServers < ActiveRecord::Migration
def self.up
add_column :servers,:use_tls,:boolean
add_column :servers,:for_imap,:boolean
add_column :servers,:for_smtp,:boolean
end
def self.down
remove_column :servers,:use_tls
remove_column :servers,:for_imap
remove_column :servers,:for_smtp
end
end