You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello, thank you such convenient library! I faced an issue where my model (User) to which I attach my file, locates outside. And therefore User->attachments() doesnt work, because in remote database table attachments doesnt exist. Is there any workaround? Thanks!
The text was updated successfully, but these errors were encountered:
This package has not been tested with this configuration.
Maybe you can try overriding the Attachment model (via the config) with you own class that extends Attachment and which overrides the connection property so that Eloquent knows in which database the model's data are persisted.
Hello, thank you such convenient library! I faced an issue where my model (User) to which I attach my file, locates outside. And therefore User->attachments() doesnt work, because in remote database table attachments doesnt exist. Is there any workaround? Thanks!
The text was updated successfully, but these errors were encountered: