This fixes the bug that was preventing us from updating a foreign key to null.
We can now do this update on Note.contextId, Note.sourceId and Tag.notebookId
Most other foreign keys are required, so no need to update them to null.
Let me know if there are any other cases that you can think of. Normally they should work, but I can add a test to make sure they do.
This fixes the bug that was preventing us from updating a foreign key to null. We can now do this update on Note.contextId, Note.sourceId and Tag.notebookId Most other foreign keys are required, so no need to update them to null.
Let me know if there are any other cases that you can think of. Normally they should work, but I can add a test to make sure they do.