diff options
Diffstat (limited to 'db/migrate/20160528043124_add_users_state_index.rb')
-rw-r--r-- | db/migrate/20160528043124_add_users_state_index.rb | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/db/migrate/20160528043124_add_users_state_index.rb b/db/migrate/20160528043124_add_users_state_index.rb new file mode 100644 index 00000000000..6419d2ae71d --- /dev/null +++ b/db/migrate/20160528043124_add_users_state_index.rb @@ -0,0 +1,10 @@ +# rubocop:disable all +class AddUsersStateIndex < ActiveRecord::Migration + include Gitlab::Database::MigrationHelpers + + disable_ddl_transaction! + + def change + add_concurrent_index :users, :state + end +end |