Replies: 1 comment
-
I'd welcome a PR that adds a test to demonstrate this bug and a PR that fixes this. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello,
We got an issue using laravel-medialibrary with two databases configured in our Laravel app.
We got two models :
App\Models\User.php using connection named 'mysql'
and
App\Models\Classe.php using connection named 'custom_database'
Then I try to upload a file in my ClasseController :
Laravel-medialibrary is always saving images in 'mysql' database :/
We tried to create a custom Media class but it doesn't work.
Do you have a solution?
Thank you!
Beta Was this translation helpful? Give feedback.
All reactions