Changeset 939 for trunk/Application
- Timestamp:
- Aug 2, 2022, 9:26:10 AM (2 years ago)
- Location:
- trunk/Application
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Application/UpdateTrace.php
r934 r939 2217 2217 $Manager->Execute('UPDATE `PermissionGroup` SET `SysName`="other-users" WHERE `Description`="Ostatní"'); 2218 2218 $Manager->Execute('UPDATE `PermissionGroup` SET `SysName`="customers" WHERE `Description`="Zákazníci"'); 2219 } 2220 2221 function UpdateTo939(UpdateManager $Manager): void 2222 { 2223 $Manager->Execute('ALTER TABLE `Member` ADD `PaymentEmailTime` DATETIME NULL DEFAULT NULL AFTER `Contract`;'); 2224 $Manager->Execute('UPDATE `Member` SET `PaymentEmailTime`=DATE_SUB(`BillingPeriodLastDate`, INTERVAL 1 MONTH) WHERE BillingPeriod=2 AND BillingPeriodLastDate<>"0000-00-00"'); 2225 $Manager->Execute('UPDATE `Member` SET `PaymentEmailTime`=DATE_SUB(`BillingPeriodLastDate`, INTERVAL 3 MONTH) WHERE BillingPeriod=3 AND BillingPeriodLastDate<>"0000-00-00"'); 2226 $Manager->Execute('UPDATE `Member` SET `PaymentEmailTime`=DATE_SUB(`BillingPeriodLastDate`, INTERVAL 6 MONTH) WHERE BillingPeriod=4 AND BillingPeriodLastDate<>"0000-00-00"'); 2227 $Manager->Execute('UPDATE `Member` SET `PaymentEmailTime`=DATE_SUB(`BillingPeriodLastDate`, INTERVAL 12 MONTH) WHERE BillingPeriod=5 AND BillingPeriodLastDate<>"0000-00-00"'); 2228 $Manager->Execute('ALTER TABLE `UserOnline` ENGINE = InnoDB;'); 2219 2229 } 2220 2230 … … 2328 2338 911 => array('Revision' => 921, 'Function' => 'UpdateTo921'), 2329 2339 921 => array('Revision' => 933, 'Function' => 'UpdateTo933'), 2340 933 => array('Revision' => 939, 'Function' => 'UpdateTo939'), 2330 2341 ); 2331 2342 } -
trunk/Application/Version.php
r934 r939 1 1 <?php 2 2 3 $Revision = 93 3; // Subversion revision4 $DatabaseRevision = 93 3; // SQL structure revision5 $ReleaseTime = strtotime('2022-0 5-11');3 $Revision = 939; // Subversion revision 4 $DatabaseRevision = 939; // SQL structure revision 5 $ReleaseTime = strtotime('2022-08-01');
Note:
See TracChangeset
for help on using the changeset viewer.