I have created database tables manually and i have also created foreign key constraints in tables manually without using migration. now when i am going to delete a record it giving me following error-
Integrity constraint violation: Cannot delete or update a parent row: a foreign key constraint fails
Note: i can't use migration because database was already created.
via Chebli Mohamed
Aucun commentaire:
Enregistrer un commentaire