From: Banana Date: Sun, 11 Jul 2021 14:42:03 +0000 (+0200) Subject: fixed #7 adding more os and plattform entries X-Git-Tag: 1.2~5 X-Git-Url: http://91.132.146.200/gitweb/?a=commitdiff_plain;h=5aee0a1acb4f000f30c4b231b14ba305b5708568;p=bibliotheca-php.git fixed #7 adding more os and plattform entries --- diff --git a/upgrade/from-version-1.1.txt b/upgrade/from-version-1.1.txt index b7dd946..8ffb080 100644 --- a/upgrade/from-version-1.1.txt +++ b/upgrade/from-version-1.1.txt @@ -4,6 +4,8 @@ INSERT INTO `#REPLACEME#_tool` (`id`, `name`, `description`, `action`, `target`, INSERT INTO `#REPLACEME#_sys_fields` (`id`, `identifier`, `displayname`, `type`, `searchtype`, `createstring`, `inputValidation`, `value`, `apiinfo`, `created`, `modified`, `modificationuser`, `owner`, `group`, `rights`) VALUES (NULL, 'artist', 'Artist', 'text', 'entrySingleText', '`artist` varchar(128) NULL DEFAULT NULL', '', NULL, 'string 128', NOW(), NOW(), NULL, '1', '1', 'rw-r--r--'); UPDATE `#REPLACEME#_sys_fields` SET `type` = 'year' WHERE `identifier` = 'year'; UPDATE `#REPLACEME#_sys_fields` SET `createstring` = '`localizedTitle` varchar(128) NULL DEFAULT NULL, ADD FULLTEXT (`localizedTitle`)' WHERE `identifier` = 'localizedTitle'; +UPDATE `#REPLACEME#_sys_fields` SET `value` = 'DOS,Windows 1,Windows 2,Windows 3,Windows 95,Windows 99,Windows XP,Windows 2000,Windows ME,Windows Vista,Windows 8,Windows 10', `apiinfo` = 'One of DOS,Windows 1,Windows 2,Windows 3,Windows 95,Windows 99,Windows XP,Windows 2000,Windows ME,Windows Vista,Windows 8,Windows 10' WHERE `identifier` = 'os'; +UPDATE `#REPLACEME#_sys_fields` SET `value` = 'Nintendo,Nintendo Switch,PC,Playstation,Playstation 2,Playstation 3,Playstation 4,Playstation 5,Xbox,Xbox 360,Xbox One,Xbox One S,Xbox One X,Xbox Series S,Xbox Series X', `apiinfo` = 'One of Nintendo,Nintendo Switch,PC,Playstation,Playstation 2,Playstation 3,Playstation 4,Playstation 5,Xbox,Xbox 360,Xbox One,Xbox One S,Xbox One X,Xbox Series S,Xbox Series X' WHERE `identifier` = 'platform'; # if you have the field "localizedTitle" already in use and get an error about it, run the following statement. # Replace to match the correct collection