a.binder 8 anni fa
parent
commit
be7298aa2a
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      SE/se-lib/Route/Storage/TestXsd.php

+ 1 - 1
SE/se-lib/Route/Storage/TestXsd.php

@@ -169,7 +169,7 @@ class Route_Storage_TestXsd extends RouteBase {
 			foreach ($foreignKeys as $key) {
 				$xmlWriter->startElement('xs:element');
 				$refPrefix = (DB::getPDO()->getZasobId() === $idStorage) ? 'p5_default_db' : "p5_zasob_{$idStorage}";
-				$xmlWriter->writeAttribute('ref', "{$refPrefix}:{$key['REFERENCED_TABLE_NAME']}");
+				$xmlWriter->writeAttribute('type', "{$refPrefix}:{$key['REFERENCED_TABLE_NAME']}"); //it is better to show it as type to be than translated to references than having fake ref
 					$xmlWriter->startElement('xs:annotation');
 						$xmlWriter->startElement('xs:appinfo');
 							$xmlWriter->startElement('system_cache__appinfo:flat_relation_cache');