F
Filament14mo ago
Fasna

Multiple databases and panels

I have a filament app configured with one database. I need to add two more databases, which will have different tables and features. But, the users going to access all the databases will belong to the same group. I'm thinking of creating separate panels for each database. I'm not sure how to switch the database connection between them. The database connection should change on the instance of accessing the panel.
2 Replies
core
core14mo ago
Maybe a middleware that changes db connection on panel path change
Fasna
FasnaOP14mo ago
will check on that

Did you find this page helpful?