Advertisement
Guest User

Untitled

a guest
Feb 6th, 2016
53
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.30 KB | None | 0 0
  1. Organizations
  2. ----------------
  3. id - PK
  4.  
  5. Departments
  6. ----------------
  7. id
  8. org_id - FK
  9.  
  10. Cannot delete or update a parent row: a foreign key constraint fails (`emedia_backend`.`users`, CONSTRAINT `FK_dep_id` FOREIGN KEY (`dep_id`) REFERENCES `departments` (`id`) ON DELETE NO ACTION ON UPDATE NO ACTION)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement