Hello!
I would like to be able to configure multiple connections to databases. I got a possible solution here: https://stackoverflow.com/questions/54969009/vapor-3-using-multiple-databases.
However, I am currently using Fluent and cannot find a solution. It should be noted that my models are not migrated since the database is predefined, so I only have to register the default database. I leave you a image of the configuration file.
I have tried in various ways, but I always run into the problem that the database connection to the models is defined in the config file when starting the server, the idea would be to modify them at runtime.
I hope someone can help me out
(Sorry for my English)