a.binder %!s(int64=8) %!d(string=hai) anos
pai
achega
4e2042ff0e
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      SE/se-lib/Route/Storage/TestXsd.php

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

@@ -168,7 +168,7 @@ class Route_Storage_TestXsd extends RouteBase {
 		if (!empty($foreignKeys)) {
 			foreach ($foreignKeys as $key) {
 				$xmlWriter->startElement('xs:element');
-				$xmlWriter->writeAttribute('name', $key['REFERENCED_COLUMN_NAME']); //todo may not be unique - to be set table__x3A__name
+				$xmlWriter->writeAttribute('name', $key['COLUMN_NAME']); //todo may not be unique - to be set table__x3A__name
 				$refPrefix = (DB::getPDO()->getZasobId() === $idStorage) ? 'p5_default_db' : "p5_zasob_{$idStorage}";
 				$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');