morph replace on nullable morph #1946
-
if I need to upload the file first and then attach it to the model in handler. I can’t do it now. $table->morphs('model');
// replace on
$table->nullableMorphs('model'); And add the method public function addExistingMedia($id)
{
// Logic
} |
Beta Was this translation helpful? Give feedback.
Answered by
freekmurze
Jun 30, 2020
Replies: 1 comment
-
This is something we'll solve in the upcoming https://medialibrary.pro |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
freekmurze
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This is something we'll solve in the upcoming https://medialibrary.pro