Cannot delete or update a parent row: a foreign key constraint fails
As is, you must delete the row out of the advertisers table before you can delete the row in the jobs table that it references. This: …is actually the opposite to what it should be. As it is, it means that you’d have to have a record in the jobs table before the advertisers. So … Read more