Explorar o código

U update table struct from xsd in Storage/reinstallAcl

Piotr Labudda %!s(int64=7) %!d(string=hai) anos
pai
achega
c4664fe452
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      SE/se-lib/Route/Storage/AclReinstall.php

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

@@ -534,8 +534,8 @@ class Route_Storage_AclReinstall extends RouteBase {
 			// number
 			case 'xsd:integer':
 			case 'p5Type:integer':
-			case 'xsd:positiveInteger':
 			case 'xsd:int': return [ 'name' => $fieldInfo['fieldNamespace'], 'raw_storage_type' => "int(11)" ];
+			case 'xsd:positiveInteger': return [ 'name' => $fieldInfo['fieldNamespace'], 'raw_storage_type' => "int(11) unsigned" ];
 			case 'xsd:short': return [ 'name' => $fieldInfo['fieldNamespace'], 'raw_storage_type' => "int(11)" ];
 			case 'xsd:long': return [ 'name' => $fieldInfo['fieldNamespace'], 'raw_storage_type' => "int(11)" ];
 			case 'xsd:float': return [ 'name' => $fieldInfo['fieldNamespace'], 'raw_storage_type' => "float" ];