mirror of
https://github.com/rapid7/metasploit-framework
synced 2024-11-12 11:52:01 +01:00
3d601c0be9
git-svn-id: file:///home/svn/framework3/trunk@8778 4d416f70-5f16-0410-b530-b9f4589650da
20 lines
335 B
Ruby
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
|
|
|