Merge branch '8784-dir-listings'
[arvados.git] / services / api / db / migrate / 20140924091559_add_job_uuid_to_nodes.rb
1 # Copyright (C) The Arvados Authors. All rights reserved.
2 #
3 # SPDX-License-Identifier: AGPL-3.0
4
5 class AddJobUuidToNodes < ActiveRecord::Migration
6   def up
7     change_table :nodes do |t|
8       t.column :job_uuid, :string
9     end
10   end
11
12   def down
13     change_table :nodes do |t|
14       t.remove :job_uuid
15     end
16   end
17 end