how to set connection database inside admin panel

I have a design with 2 panel 1.main panel 2.training panel and want to separated database name but have a same table please show me how to do that thx u
2 Replies
LeandroFerreira
LeandroFerreira8mo ago
Laravel - The PHP Framework For Web Artisans
Laravel is a PHP web application framework with expressive, elegant syntax. We’ve already laid the foundation — freeing you to create without sweating the small things.
jepewsykes
jepewsykes8mo ago
Solved Bro Im Using bootUsing() like this ->bootUsing(function (Panel $panel) { DB::setDefaultConnection('training'); })
Want results from more Discord servers?
Add your server