Asmit
Asmit

Asmit Nepali

@Asmit

Software Developer @thefireflytech

9 Posts 33 Views

  • No matching results...
  • Searching...

/ 255

Hey Everybody!

I'm using Laravel with SoftDeletes and need a unique constraint on the combination of product_id and type_id. When I soft delete a record and try to insert the same combination again, the database throws a unique constraint error, even though the original record is soft deleted. While soft deletes aren't immediately required, I may need to recover deleted data in the future. How can I structure this to prevent the unique constraint issue while still allowing future data recovery if necessary?
Any suggestions on the best approach please.

2

189

It seems ok for now 🧐

58

Is Laravel Intertia is SEO friendly ?

1

126

I'm looking to learn how to create a Single Page Application (SPA) using Laravel, but I'm a bit unsure whether I should start with Laravel Inertia or Livewire. I would really appreciate any advice on which approach might be better suited for a beginner in SPA development.
Thank you!

5

380

Thank you all for the response. This will help me to decide the stack.

137