Permalink
Browse files

User index

  • Loading branch information...
1 parent a58d39e commit 38527e6e719bc07eca8593fc8d196469fe9b3eaf @suttree committed Jul 4, 2011
Showing with 9 additions and 0 deletions.
  1. +9 −0 db/migrate/20110704100749_database_indexes.rb
View
9 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.