18874: Merge commit '6f8dcb2b13f3058db656908fb26b09e23b527f08' into 18874-merge-wb2
[arvados.git] / services / api / db / migrate / 20190905151603_enforce_unique_identity_url.rb
1 # Copyright (C) The Arvados Authors. All rights reserved.
2 #
3 # SPDX-License-Identifier: AGPL-3.0
4
5 class EnforceUniqueIdentityUrl < ActiveRecord::Migration[5.0]
6   def change
7     add_index :users, [:identity_url], :unique => true
8   end
9 end