cleanup/fixes of label/relation definition usages in the old style

This commit is contained in:
zadam
2020-09-08 20:42:50 +02:00
parent 80f269d844
commit 8b4cf474bd
5 changed files with 9 additions and 49 deletions

View File

@@ -500,9 +500,7 @@ class ConsistencyChecks {
FROM attributes
WHERE isDeleted = 0
AND type != 'label'
AND type != 'label-definition'
AND type != 'relation'
AND type != 'relation-definition'`,
AND type != 'relation'`,
({attributeId, type}) => {
if (this.autoFix) {
const attribute = repository.getAttribute(attributeId);