Add a results column
git-svn-id: file:///home/svn/framework3/trunk@8804 4d416f70-5f16-0410-b530-b9f4589650daunstable
parent
1b1ec3b5dc
commit
9288f34fbf
|
@ -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
|
||||
|
|
@ -6,6 +6,7 @@ class Task < ActiveRecord::Base
|
|||
|
||||
belongs_to :workspace
|
||||
serialize :options
|
||||
serialize :result
|
||||
end
|
||||
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue