Skip to content
Snippets Groups Projects
Verified Commit 6e0b23dc authored by Andreas Ellewsen's avatar Andreas Ellewsen
Browse files

Change unique constraint on OuIdentifiers

OuIdentifiers used to be restricted to the name+value combination to
make sure that no two units could have the same legacy_stedkode. This
becomes problematic when two units have the same short_name.

This makes it possible for two units to have the same value for the same
OuIdentifier name, and adds a constraint that makes it impossible for
each unit to have more than one OuIdentifier with the same 'name', i.e
multiple legacy_stedkode for one unit.
parent f7135da4
No related branches found
No related tags found
1 merge request!361Fix orgreg import not seeing duplicates
Pipeline #169048 passed
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment