Changeset 934 for trunk/Application/UpdateTrace.php
- Timestamp:
- May 11, 2022, 10:07:18 PM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Application/UpdateTrace.php
r921 r934 2207 2207 "VALUES (NULL , 'Fyzické adresy', ".$DbRow['Id'].", '".$ActionId."', '1');"); 2208 2208 } 2209 } 2210 2211 function UpdateTo933(UpdateManager $Manager): void 2212 { 2213 $Manager->Execute('ALTER TABLE `PermissionGroup` ADD `SysName` VARCHAR(255) NULL DEFAULT "" AFTER `Description`;'); 2214 $Manager->Execute('UPDATE `PermissionGroup` SET `SysName`="admins" WHERE `Description`="Systémoví administrátoři"'); 2215 $Manager->Execute('UPDATE `PermissionGroup` SET `SysName`="network-admins" WHERE `Description`="Správci sítě"'); 2216 $Manager->Execute('UPDATE `PermissionGroup` SET `SysName`="registered-users" WHERE `Description`="Registrovaní uživatelé"'); 2217 $Manager->Execute('UPDATE `PermissionGroup` SET `SysName`="other-users" WHERE `Description`="Ostatní"'); 2218 $Manager->Execute('UPDATE `PermissionGroup` SET `SysName`="customers" WHERE `Description`="Zákazníci"'); 2209 2219 } 2210 2220 … … 2317 2327 907 => array('Revision' => 911, 'Function' => 'UpdateTo911'), 2318 2328 911 => array('Revision' => 921, 'Function' => 'UpdateTo921'), 2329 921 => array('Revision' => 933, 'Function' => 'UpdateTo933'), 2319 2330 ); 2320 2331 }
Note:
See TracChangeset
for help on using the changeset viewer.