-
Couldn't load subscription status.
- Fork 71
Open
Labels
Description
I am getting this recommendation after installing the door keeper gem.
1) DB Indexes sets the proper db indexes
Failure/Error:
expect(`rake db:find_indexes`).to match(/Yey, no missing indexes found!/), lambda {
"Missing db indexes were find run `rake db:find_indexes'" }
Missing db indexes were find run `rake db:find_indexes'
Diff:
@@ -1,2 +1,11 @@
-/Yey, no missing indexes found!/
+* TIP: if you have a problem with the index name('index name too long'), you can
+solve with the :name option. Something like :name => 'my_index'.
+* run `rails g migration AddMissingIndexes` and add the following content:
+
+ class AddMissingIndexes < ActiveRecord::Migration
+ def change
+ add_index :oauth_access_tokens, [:doorkeeper/application_id, :doorkeeper/application_id]
+ end
+ end
Any idea how I can resolve this?