Files
metasploit-gs/data/sql/migrate/012_add_tasks.rb
T
HD Moore 5957dd5393 Add tasks
git-svn-id: file:///home/svn/framework3/trunk@8791 4d416f70-5f16-0410-b530-b9f4589650da
2010-03-11 18:42:21 +00:00

25 lines
455 B
Ruby

class AddTasks < ActiveRecord::Migration
def self.up
create_table :tasks do |t|
t.integer :workspace_id, :null => false, :default => 1
t.string :created_by
t.string :module
t.datetime :completed_at
t.string :path, :limit => 1024
t.string :info
t.string :description
t.integer :progress
t.text :options
t.text :error
t.timestamps
end
end
def self.down
drop_table :tasks
end
end