metasploit-framework/data/sql/migrate/016_add_host_purpose.rb

11 lines
161 B
Ruby
Raw Normal View History

class AddHostPurpose < ActiveRecord::Migration
def self.up
add_column :hosts, :purpose, :text
end
def self.down
remove_column :hosts, :purpose
end
end