79250635

Date: 2024-12-04 10:01:23
Score: 1
Natty:
Report link

i think you need to write nullable() befor constrianed('tabel name') example $table-> foreignId (' parent_id') -> nullable ( ) -> constrained ('categories','id') -> nullOnDelete ()

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: abdalrahman salama