diff --git a/db/migrate/20140818023700_index_email_tokens.rb b/db/migrate/20140818023700_index_email_tokens.rb new file mode 100644 index 00000000000..8f855f679e2 --- /dev/null +++ b/db/migrate/20140818023700_index_email_tokens.rb @@ -0,0 +1,5 @@ +class IndexEmailTokens < ActiveRecord::Migration + def change + add_index :email_tokens, [:user_id] + end +end