16470: Removes exception deprecated on rails 3.2
[arvados.git] / services / api / db / migrate / 20140601022548_remove_name_from_collections.rb
1 # Copyright (C) The Arvados Authors. All rights reserved.
2 #
3 # SPDX-License-Identifier: AGPL-3.0
4
5 class RemoveNameFromCollections < ActiveRecord::Migration[4.2]
6   def up
7     remove_column :collections, :name
8   end
9
10   def down
11     add_column :collections, :name, :string
12   end
13 end