#SAVE IMAGES ROUTES IN A DIFERENT TABLE

3 messages · Page 1 of 1 (latest)

oblique plaza
#

Hi there, i hope you'll are good.

I have the follow question:

I have a form to storage imagen to s3 and that works pretty good:

However the problem is i need to update the routes of those images in other for id and route column.

It works nice when i want to save the route in the table of the resource. but if is another table and i would need the id of the resource i am saving the images? how can i do that?

Basically. save the routes of the images in another diferente table of the resource i am using to storage images to s3.

torn flintBOT
#

To help others find answers, you can mark your question as solved via Right click solution message -> Apps -> ✅ Mark Solution

hollow granite
#

If you use spatie media instead, then you can pass customer perameters in i.e. the resource