is it possible to use 2 different database for a filament project? ex : i have a filament project A and B now i want to make filament B have its own DB but still uses A's to view some of its tables. can filament understand which connection the model uses if i use this in the model? .
protected $connection = 'mysql2';
protected $connection = 'mysql2';
Solution
yes if you didn't define the connection it will use the default