The loose relationship between two auto_incrementing `id` columns of different tables is insanely brittle. I am not convinced that the intention was for the relation to work this way. It may simple be a problem with part of the code referencing `id` instead of `uuid`.
The uuid's in the `instances_id_mapping` should, at the minimum, include a unique constraint.
The loose relationship between two auto_incrementing `id` columns of different tables is insanely brittle. I am not convinced that the intention was for the relation to work this way. It may simple be a problem with part of the code referencing `id` instead of `uuid`.
The uuid's in the `instances_ id_mapping` should, at the minimum, include a unique constraint.