$table->foreign('applicationstatus_id')->references('id')->on('applicationstatuses')->onDelete('restrict');
I have the above line in my applications table but its ot restricting delete, it goes on and deletes the record. This is Laravel. Please help.
from Newest questions tagged laravel-5 - Stack Overflow https://ift.tt/2ArJ3Ks
via IFTTT
Aucun commentaire:
Enregistrer un commentaire