We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b6a082e commit cd7f1e9Copy full SHA for cd7f1e9
Mergin/validation.py
@@ -299,7 +299,6 @@ def check_project_relations(self):
299
300
# check fields are unique
301
self._check_field_unique(parent_layer, parent_fields)
302
- self._check_field_unique(child_layer, child_fields)
303
304
# check that fields used in relation are not primary keys
305
if parent_layer.dataProvider().storageType() == "GPKG":
@@ -330,7 +329,6 @@ def check_value_relation(self):
330
329
# and is not a primary key
331
if child_layer.dataProvider().storageType() == "GPKG":
332
idx = child_layer.fields().indexFromName(str(cfg["Key"]))
333
- self._check_field_unique(child_layer, [idx])
334
self._check_primary_keys(child_layer, [idx])
335
336
def _check_field_unique(self, layer, fields):
0 commit comments