Need Help DB Sync plugin

Database Sync, included not working. https://filamentphp.com/plugins/teguhrijanandi-db-sync #❓┊help
Filament
Database Sync by Teguh Rijanandi - Filament
This package allows to sync two different Laravel Filament app databases.
4 Replies
McClabe
McClabe7d ago
i think u must try laravel multi tenant i have implement that for many tenant if u want sync only two db its can use stancl/multi tenant
Dennis Koch
Dennis Koch6d ago
not working
You provide no info at all. Nobody can help you.
Russ.
Russ.OP6d ago
'models' => [ / * If set to true, the package will * automatically scan all models in the app/Models directory */ 'auto_scan' => env('AUTO_SCAN_MODELS', false), / * If auto_scan is set to true, * this configuration will be used to exclude models * which will not be synced */ 'excluded' => [ //App\Models\User::class, ], / * When auto_scan is set to false, * this configuration will be used to include models */ 'included' => [ App\Models\User::class, ], / * The column to be used as the key * when syncing data */ 'column_as_key' => [ // class => column 'user'=> 'email', 'offices' => 'id', // or you can use the table name // table_name => column // 'users' => 'email', ], ], i get this TypeError "Cannot use "::class" on string" but when i set auto scan to false, excluded is working.
No description
Dennis Koch
Dennis Koch6d ago
Check the line that error is thrown (stack trace)

Did you find this page helpful?