20862: Add 'sdk/ruby-google-api-client/' from commit '2f4be67955e48bb65d008ecd9ff6da9...
[arvados.git] / services / api / db / migrate / 20140607150616_rename_folder_to_project.rb
1 # Copyright (C) The Arvados Authors. All rights reserved.
2 #
3 # SPDX-License-Identifier: AGPL-3.0
4
5 class RenameFolderToProject < ActiveRecord::Migration[4.2]
6   def up
7     Group.update_all("group_class = 'project'", "group_class = 'folder'")
8   end
9
10   def down
11     Group.update_all("group_class = 'folder'", "group_class = 'project'")
12   end
13 end