For now, disallow cascading deletes. Before deleting a row, check if there are other rows which reference the row to be deleted, and if there are, throw error and halt the delete.
I might already have this set up in Ecto, but double check all tables.
For now, disallow cascading deletes. Before deleting a row, check if there are other rows which reference the row to be deleted, and if there are, throw error and halt the delete.
I might already have this set up in Ecto, but double check all tables.