Use additional Database


#1

Greetings!
First: I am new to UF and all in all not that used to work with such a potent framework.

For the project I am working on I have to use a separate database for all client related stuff. The goal is to use UF as an frontend for editing/displaying data from this specific database.

Now I searched the files and the documentation, but apart from adding the details to the environment variables and making a database connection in the config file, I don’t really find anything where to add it so I could use it for forms. I am sure I am missing something.

Any help would be really appreciated, have a nice day!


#2

A second connection can technically be used. This guide should be helpful, even if it’s for Laravel, it should work with UF too since we use Eloquent too :