add an easy way to update database settings
|Reported by:||dahool||Owned by:||nobody|
|Component:||Database layer (models, ORM)||Version:||1.3|
|Has patch:||no||Needs documentation:||no|
|Needs tests:||no||Patch needs improvement:||no|
Currently I have an application that connect to multiple databases, I'm using a default one for authentication and some configuration stuff, later authorized users can add others databases to connect to (using an admin app) and I'm saving it connect information in the default db.
I'm using a middleware to update and recreate the connections on every request.
It would be nice if there is an easy way to update or add a new connection on runtime.