In this video, I will discuss common issues related to foreign keys in DB Browser and demonstrate how to troubleshoot them. Join me as I walk you through the steps to resolve these issues and ensure the smooth functioning of your database. Whether you are a beginner or an experienced user, this tutorial will provide valuable insights to help you navigate foreign key problems in DB Browser.
To get the update and delete to work use
ON UPDATE CASCADE ON DELETE CASCADE
Insert the following into the available white space. This indicates that when a payee is deleted from the database, all transactions associated with that payee will also be deleted. The same rule applies when updating the primary key that is referenced by a foreign key; the corresponding table will also be updated accordingly.