Merge branch '13006-api-is_a-filter' into 13006-sync-groups-is_a-filter
[arvados.git] / services / api / db / migrate / 20160909181442_rename_workflow_to_definition.rb
1 # Copyright (C) The Arvados Authors. All rights reserved.
2 #
3 # SPDX-License-Identifier: AGPL-3.0
4
5 class RenameWorkflowToDefinition < ActiveRecord::Migration
6   def up
7     rename_column :workflows, :workflow, :definition
8   end 
9     
10   def down
11     rename_column :workflows, :definition, :workflow
12   end
13 end
14