|
|
@@ -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');
|