Add the settings column
git-svn-id: file:///home/svn/framework3/trunk@13011 4d416f70-5f16-0410-b530-b9f4589650daunstable
parent
ef19406645
commit
25a2d846e2
|
@ -0,0 +1,12 @@
|
|||
class AddSettingsToTasksTable < ActiveRecord::Migration
|
||||
|
||||
def self.up
|
||||
add_column :tasks, :settings, :binary
|
||||
end
|
||||
|
||||
def self.down
|
||||
remove_column :tasks, :settings
|
||||
end
|
||||
|
||||
end
|
||||
|
|
@ -8,6 +8,7 @@ class Task < ActiveRecord::Base
|
|||
|
||||
serialize :options
|
||||
serialize :result
|
||||
serialize :settings
|
||||
end
|
||||
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue