Changeset 953 for trunk/Application


Ignore:
Timestamp:
Aug 11, 2023, 11:17:28 AM (15 months ago)
Author:
chronos
Message:
  • Added: News can be set as intranet only.
Location:
trunk/Application
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Application/UpdateTrace.php

    r948 r953  
    22322232{
    22332233  $Manager->Execute('ALTER TABLE `News` CHANGE `IP` `IP` VARCHAR(45) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NOT NULL;');
     2234}
     2235
     2236function UpdateTo953(UpdateManager $Manager): void
     2237{
     2238  $Manager->Execute('ALTER TABLE `News` ADD `Intranet` INT NOT NULL DEFAULT "0" AFTER `Link`;');
    22342239}
    22352240
     
    23432348      911 => array('Revision' => 921, 'Function' => 'UpdateTo921'),
    23442349      921 => array('Revision' => 933, 'Function' => 'UpdateTo933'),
    2345       933 => array('Revision' => 939, 'Function' => 'UpdateTo939'),
     2350      933 => array('Revision' => 939, 'Function' => 'UpdateTo939'),     
    23462351      939 => array('Revision' => 948, 'Function' => 'UpdateTo948'),
     2352      948 => array('Revision' => 953, 'Function' => 'UpdateTo953'),
    23472353    );
    23482354  }
  • trunk/Application/Version.php

    r948 r953  
    11<?php
    22
    3 $Revision = 948; // Subversion revision
    4 $DatabaseRevision = 948; // SQL structure revision
    5 $ReleaseTime = strtotime('2022-12-06');
     3$Revision = 953; // Subversion revision
     4$DatabaseRevision = 953; // SQL structure revision
     5$ReleaseTime = strtotime('2023-08-11');
Note: See TracChangeset for help on using the changeset viewer.