From d93389d99a6c30cd7bea5f17c82fdd614b75c6c8 Mon Sep 17 00:00:00 2001 From: Banana Date: Sun, 18 Dec 2022 12:13:52 +0100 Subject: [PATCH] updated upgrade files --- documentation/upgrade.txt | 2 +- upgrade/from-version-1.1.txt | 8 ++++++++ upgrade/from-version-1.2.txt | 8 ++++++++ upgrade/from-version-1.3.tx | 12 ++++++++++++ 4 files changed, 29 insertions(+), 1 deletion(-) diff --git a/documentation/upgrade.txt b/documentation/upgrade.txt index 043a177..37c4877 100644 --- a/documentation/upgrade.txt +++ b/documentation/upgrade.txt @@ -1,4 +1,4 @@ -Each release has it own files in the upgrade folder. +Each release has its own file in the upgrade folder. In this file there are the steps needed to make an upgrade. If you upgrade multiple versions make sure to read all the files in the correct order. diff --git a/upgrade/from-version-1.1.txt b/upgrade/from-version-1.1.txt index 8ffb080..0869785 100644 --- a/upgrade/from-version-1.1.txt +++ b/upgrade/from-version-1.1.txt @@ -1,3 +1,11 @@ +# Copy the following directories and files to your installation folder, overriding the existing ones: +webclient/config/ +webclient/lib/ +webclient/view/ +webclient/.htaccess +webclient/api.php +webclient/index.php + # DB changes. Run each line against your bibliotheca DB. # Replace #REPLACEME# with your table prefix. Default is bib INSERT INTO `#REPLACEME#_tool` (`id`, `name`, `description`, `action`, `target`, `owner`, `group`, `rights`) VALUES (NULL, 'Musicbrainz', 'Album infos', 'musicbrainz', '_self', '1', '1', 'rw-r--r--'); diff --git a/upgrade/from-version-1.2.txt b/upgrade/from-version-1.2.txt index 2f760e4..94b4b7c 100644 --- a/upgrade/from-version-1.2.txt +++ b/upgrade/from-version-1.2.txt @@ -1,3 +1,11 @@ +# Copy the following directories and files to your installation folder, overriding the existing ones: +webclient/config/ +webclient/lib/ +webclient/view/ +webclient/.htaccess +webclient/api.php +webclient/index.php + # DB changes. Run each line against your bibliotheca DB. # Replace #REPLACEME# with your table prefix. Default is bib INSERT INTO `#REPLACEME#_sys_fields` (`id`, `identifier`, `displayname`, `type`, `searchtype`, `createstring`, `inputValidation`, `value`, `apiinfo`, `created`, `modified`, `modificationuser`, `owner`, `group`, `rights`) VALUES (NULL, 'artists', 'Artists', 'lookupmultiple', 'tag', NULL, 'allowSpace', NULL, 'string 64', NOW(), NOW(), NULL, '1', '1', 'rw-r--r--'); diff --git a/upgrade/from-version-1.3.tx b/upgrade/from-version-1.3.tx index 634e2af..e8521d1 100644 --- a/upgrade/from-version-1.3.tx +++ b/upgrade/from-version-1.3.tx @@ -1,3 +1,15 @@ +# Copy the following directories and files to your installation folder, overriding the existing ones: +webclient/config/ +webclient/lib/ +webclient/view/ +webclient/.htaccess +webclient/api.php +webclient/index.php + +# New syntax in config files +"define(.." syntax needs to be replace with "const" syntax in all the config files. +See the default ones about the changes. + # DB changes. Run each line against your bibliotheca DB. # Replace #REPLACEME# with your table prefix. Default is bib ALTER TABLE `#REPLACEME#_collection` ADD `defaultSortOrder` VARCHAR(4) NOT NULL AFTER `defaultSortField`; -- 2.39.5