Open ericraio opened 5 years ago
@ericraio are you trying to run lol_dba tests with a new gem?
@ericraio are you trying to run lol_dba tests with a new gem?
No tests or anything like that, I just have a simple test that executes lol_dba
When running rake db:find_indexes
, it's saying that I need to put an index for doorkeeper's table.
To reproduce,
add the gem lol_dba and doorkeeper + create doorkeeper tables
@plentz
I'd like to highlight that lol_dba is failing because
the model class is Doorkeeper::Application
and when you convert a nested model like this to underscore, it generates doorkeeper/application
instead of doorkeeper_application
In addition to above,
add_index :oauth_access_tokens, [:doorkeeper/application_id, :doorkeeper/application_id]
This would not be the proper table because it is redefined internally.
I'm working on that on #81.
I am getting this recommendation after installing the door keeper gem.
Any idea how I can resolve this?