]> git.arvados.org - arvados.git/blob - services/api/db/migrate/20140714184006_empty_collection.rb
Merge branch '14812-wb1-new-config' refs #14812
[arvados.git] / services / api / db / migrate / 20140714184006_empty_collection.rb
1 # Copyright (C) The Arvados Authors. All rights reserved.
2 #
3 # SPDX-License-Identifier: AGPL-3.0
4
5 class EmptyCollection < ActiveRecord::Migration[4.2]
6   include CurrentApiClient
7
8   def up
9     empty_collection
10   end
11
12   def down
13     # do nothing when migrating down (having the empty collection
14     # and a permission link for it is harmless)
15   end
16 end