12032: Remove startnode from materialized_permission_view (again), tests pass
[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
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