metasploit-framework/data/sql/migrate/20101002000000_add_query.rb

11 lines
231 B
Ruby
Executable File

class AddQuery < ActiveRecord::Migration
def self.up
add_column :web_forms, :query, :text
add_column :web_vulns, :query, :text
end
def self.down
remove_column :web_forms, :query
remove_column :web_vulns, :query
end
end