[#6165] XMLDatabase doesn't correctly load UNIQUE keys

This commit is contained in:
lukaseder 2017-04-26 15:52:16 +02:00
parent 40f92011a4
commit ddab0dfb71

View File

@ -216,7 +216,7 @@ public class XMLDatabase extends AbstractDatabase {
TableDefinition table = getTable(schema, tableName);
if (table != null) {
relations.addPrimaryKey(key, table.getColumn(columnName));
relations.addUniqueKey(key, table.getColumn(columnName));
}
}
}