Comments (4)
@ericraio are you trying to run lol_dba tests with a new gem?
from lol_dba.
@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
from lol_dba.
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.
from lol_dba.
I'm working on that on #81.
from lol_dba.
Related Issues (20)
- Intercept Arel calls to suggest indexes
- Return non-zero in case of missing indexes found HOT 2
- lol_dba/sql_generator (LoadError) HOT 2
- Do not duplicate polymorphic indexes HOT 1
- Improved polymorphic and STI index suggestions HOT 3
- Bug with lol_dba cli option parsing HOT 3
- Bundle install error for Rails 6.0.1 HOT 3
- Changelog?
- v2.2.0 Unnecessary suggestions for indexes that already exist as leftmost term in another index. HOT 4
- Add support for Rails 7 HOT 1
- Error on remove_column and add_foreign_key with sqlite3 adapter
- undefined method `this` HOT 4
- Output incorrectly reporting missing indexes (sort of) HOT 1
- Mailchimp grouping error HOT 3
- uninitialized constant LolDba::VERSION
- undefined method `options' for nil:NilClass HOT 2
- Unresolved specs warning and show nothing in Rails 5.1 HOT 1
- db:migrate_sql is broken for rails versions > 5 HOT 1
- Error is printed while executing db:find_indexes HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from lol_dba.