From 2ce533b22c2b13ce30129785f1829c0960ddbc46 Mon Sep 17 00:00:00 2001 From: Priit Tark Date: Fri, 15 May 2015 00:08:54 +0300 Subject: [PATCH] Added registrant ident index --- db/migrate/20150514132606_add_registrant_ident_to_users.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/db/migrate/20150514132606_add_registrant_ident_to_users.rb b/db/migrate/20150514132606_add_registrant_ident_to_users.rb index 3f9b1389f..f07c88e72 100644 --- a/db/migrate/20150514132606_add_registrant_ident_to_users.rb +++ b/db/migrate/20150514132606_add_registrant_ident_to_users.rb @@ -1,5 +1,6 @@ class AddRegistrantIdentToUsers < ActiveRecord::Migration def change add_column :users, :registrant_ident, :string + add_index :users, :registrant_ident end end