metasploit-framework/data/sql/migrate/011_add_reports.rb

20 lines
335 B
Ruby
Executable File

class AddReports < ActiveRecord::Migration
def self.up
create_table :reports do |t|
t.integer :workspace_id, :null => false, :default => 1
t.string :created_by
t.string :rtype
t.string :path, :limit => 1024
t.text :options
t.timestamps
end
end
def self.down
drop_table :reports
end
end