If a parent record in an origin table is deleted, the foreign key of the related feature turns to null. This has been a huge headache for our organization and it would be hugely helpful to have an option to disable this database behavior. Here are a few issues we have had to deal with:
Please consider an option to disable the default behavior of nullifying foreign keys when the origin record is deleted!
I would really like to see this functionality.
Yes. At least an optional behavior. For example when you create a related table and populate the foreign key with the point layer's GUID. Can't delete the point until you delete the table, if you set foreign key to not allow nulls. And if you do allow; it will update it and null it out. I bet if they sat down with full stack GIS dev there would be so many things like this. Low effort high impact. To add the toggle is a few lines of C#, to point to a "Null foreign keys" boolean option. If False, simply don't fire the nulling line of code.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.