Commit ed867c4a authored by Jean-Philippe Lang's avatar Jean-Philippe Lang Committed by Eric Davis

Adds an index on users.type for faster retrieval of groups.

git-svn-id: svn+ssh:// e93f8b46-1217-0410-a6f0-8f06a7374b81
parent 2431d830
class AddIndexToUsersType < ActiveRecord::Migration
def self.up
add_index :users, :type
def self.down
remove_index :users, :type
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment