Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

Smashing's avatar

Update different table inside a Nova resource

How can i make an update inside a resource for example Products, but i would like to make the update in a different table not in table linked to this resource/model? I'm sure there is a way but for now i do not see how.....

0 likes
4 replies
Smashing's avatar

So, I have 3 tables :

Products Tags Pivot table

And what i want is when i make an update and i am inside Tags resource to make the update with the data that are submitted in the form to the pivot table NOT the Tags table and i dont know can i do that...

Smashing's avatar

basically to make the update to a different table not to the table that the resource is created with Tags resouce / create_tags_table ----- to create_pivot_table...

By default nova make the update to the current table that is linked the resource and i wanna do the update to a different one

Please or to participate in this conversation.