mailr/db/migrate/20110830070509_add_options_to_servers.rb
Wojciech Todryk fdd3019f55 devel
2011-09-03 13:07:40 +02:00

14 lines
337 B
Ruby
Executable file

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