Skip to content

Commit

Permalink
User index
Browse files Browse the repository at this point in the history
  • Loading branch information
suttree committed Jul 4, 2011
1 parent a58d39e commit 38527e6
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions db/migrate/20110704100749_database_indexes.rb
@@ -0,0 +1,9 @@
class DatabaseIndexes < ActiveRecord::Migration
def self.up
add_index :users, :remember_token
end

def self.down
remove_index :users, :remember_token
end
end

0 comments on commit 38527e6

Please sign in to comment.