Files
metasploit-gs/data/sql/migrate/20100911122000_add_report_templates.rb
T
Tod Beardsley 088e862e16 Adds a migration for report template tracking.
git-svn-id: file:///home/svn/framework3/trunk@10303 4d416f70-5f16-0410-b530-b9f4589650da
2010-09-13 12:17:57 +00:00

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