Add a results column

git-svn-id: file:///home/svn/framework3/trunk@8804 4d416f70-5f16-0410-b530-b9f4589650da
unstable
HD Moore 2010-03-12 15:58:02 +00:00
parent 1b1ec3b5dc
commit 9288f34fbf
2 changed files with 11 additions and 0 deletions

View File

@ -0,0 +1,10 @@
class AddTasksResult < ActiveRecord::Migration
def self.up
add_column :tasks, :result, :text
end
def self.down
remove_column :tasks, :result
end
end

View File

@ -6,6 +6,7 @@ class Task < ActiveRecord::Base
belongs_to :workspace
serialize :options
serialize :result
end
end