© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
FilamentF
Filament•11mo ago•
2 replies
AlexAnder

Wrong connection if model and relationship from different connections

Base model from one db connection (not default) and relation (on select) from different db connection (default) -> edit/update model ->update query uses relationship db connection (default). Ofcourse, there is error -> undefined table...
Filament banner
FilamentJoin
A powerful open source UI framework for Laravel • Build and ship admin panels & apps fast with Livewire
20,307Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

List From a Model - Form and Save from another Model with Relationship
FilamentFFilament / ❓┊help
3y ago
Table from different database connection
FilamentFFilament / ❓┊help
3y ago
Creating eloquent relationship model from table
FilamentFFilament / ❓┊help
3y ago
Search in relationship from main model
FilamentFFilament / ❓┊help
3y ago