Add the task_id to the reports table

git-svn-id: file:///home/svn/framework3/trunk@12751 4d416f70-5f16-0410-b530-b9f4589650da
unstable
HD Moore 2011-05-27 23:57:56 +00:00
parent 911a219e56
commit 96e6e22795
1 changed files with 11 additions and 0 deletions

View File

@ -0,0 +1,11 @@
class AddTaskIdToReportsTable < ActiveRecord::Migration
def self.up
add_column :reports, :task_id, :integer
end
def self.down
remove_column :reports, :task_id
end
end