Commit 98a72848
Changed files (2)
db/migrate/20130617040733_add_created_at_index_to_users.rb
@@ -0,0 +1,5 @@
+class AddCreatedAtIndexToUsers < ActiveRecord::Migration
+ def change
+ add_index :users, :created_at
+ end
+end
db/schema.rb
@@ -11,7 +11,7 @@
#
# It's strongly recommended to check this file into your version control system.
-ActiveRecord::Schema.define(:version => 20130616161746) do
+ActiveRecord::Schema.define(:version => 20130617040733) do
create_table "active_admin_comments", :force => true do |t|
t.integer "resource_id", :null => false
@@ -202,6 +202,7 @@ ActiveRecord::Schema.define(:version => 20130616161746) do
t.float "longitude"
end
+ add_index "users", ["created_at"], :name => "index_users_on_created_at"
add_index "users", ["email"], :name => "index_users_on_email", :unique => true
add_index "users", ["reset_password_token"], :name => "index_users_on_reset_password_token", :unique => true