21128: Merge commit 'adbbc9e3c7a36d39b30f403555ee5889e32adcc0' into 21128-toolbar...
[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