I am working with an e-commerce db. My task is to make CRUD ops for products and product variants. Here'sthe db I'm working with:
When updating product_option_values everything works properly. But when updating product_options which results in updating the previously mentioned tables causes an Integrity constraint violation: 1452.
I am using filament package for laravel which handles creating and updating records.
Any help would be appreciated. Thanks in advance.