Add the settings column

git-svn-id: file:///home/svn/framework3/trunk@13011 4d416f70-5f16-0410-b530-b9f4589650da
unstable
HD Moore 2011-06-23 07:04:20 +00:00
parent ef19406645
commit 25a2d846e2
2 changed files with 13 additions and 0 deletions

View File

@ -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

View File

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