metasploit-framework/data/sql/migrate/20100911122000_add_report_t...

19 lines
327 B
Ruby

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