F
Filament12mo 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
core11mo ago
Maybe a middleware that changes db connection on panel path change
Fasna
FasnaOP11mo ago
will check on that
Want results from more Discord servers?
Add your server