Merge branch '9783-cwl-error-invalid-dir' closes #9783
[arvados.git] / services / api / db / migrate / 20160324144017_add_components_to_job.rb
1 class AddComponentsToJob < ActiveRecord::Migration
2   def up
3     add_column :jobs, :components, :text
4   end
5
6   def down
7     if column_exists?(:jobs, :components)
8       remove_column :jobs, :components
9     end
10   end
11 end