5276: Merge branch 'master' into 5276-job-graph-phantom-tooltip
[arvados.git] / services / api / db / migrate / 20130226170000_remove_native_target_from_links.rb
index d6fa0a5efde0269ee881ad5ebdd669d635c8e7a2..a54d2bc9b960d901ccd689ed3d7e9286f098c741 100644 (file)
@@ -4,7 +4,7 @@ class RemoveNativeTargetFromLinks < ActiveRecord::Migration
     remove_column :links, :native_target_type
   end
   def down
-    remove_column :links, :native_target_id, :integer
-    remove_column :links, :native_target_type, :string
+    add_column :links, :native_target_id, :integer
+    add_column :links, :native_target_type, :string
   end
 end