Foreign key constraint violation when loading or deleting data in database

Follow