Add the task_id to the reports table
git-svn-id: file:///home/svn/framework3/trunk@12751 4d416f70-5f16-0410-b530-b9f4589650daunstable
parent
911a219e56
commit
96e6e22795
|
@ -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
|
Loading…
Reference in New Issue