1
mirror of https://github.com/rapid7/metasploit-framework synced 2024-11-12 11:52:01 +01:00
metasploit-framework/data/sql/migrate/011_add_reports.rb
HD Moore 3d601c0be9 Add a new table
git-svn-id: file:///home/svn/framework3/trunk@8778 4d416f70-5f16-0410-b530-b9f4589650da
2010-03-11 03:02:13 +00:00

20 lines
335 B
Ruby

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