15106: Adds exception handling to the trgm migration
[arvados.git] / services / api / db / migrate / 20130105224618_rename_collection_created_by_client.rb
1 # Copyright (C) The Arvados Authors. All rights reserved.
2 #
3 # SPDX-License-Identifier: AGPL-3.0
4
5 class RenameCollectionCreatedByClient < ActiveRecord::Migration[4.2]
6   def up
7     rename_column :collections, :create_by_client, :created_by_client
8   end
9
10   def down
11     rename_column :collections, :created_by_client, :create_by_client
12   end
13 end