You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Do you have any approach for this? How can we know whether a table isn't referenced in the rails models from PSQL Implementation - this will be little difficult I guess? I would say we should have some gem which kind of has the privilege to query model attributes - something like that. I would like to hear if you already have something in mind.
Schemacrawler totally relies on the database data model. If ou have relations in you rails project that uou do not have in your database :
1 - It's bad
2- Fixt it ASAP 😆
I don't know a lot about rails. All I can tell you is that if you have the privielege to read (just read) a table, you will be able to get its metadatas : does it answer your question ❔
Detect tables that are not referenced in the model and for which the number of rows exceeds a given/parametrized (I propose 0 by default) threeshold.
The text was updated successfully, but these errors were encountered: