diff --git a/patches/patch20241010-8.0.0/patch.sh b/patches/patch20241010-8.0.0/patch.sh new file mode 100755 index 0000000000000000000000000000000000000000..2573c95864518363088af121a705d87f786b07ca --- /dev/null +++ b/patches/patch20241010-8.0.0/patch.sh @@ -0,0 +1,41 @@ +#!/bin/bash +# +# This file is a part of the LinkAhead Project. +# +# Copyright (C) 2024 IndiScale GmbH <info@indiscale.com> +# Copyright (C) 2024 Timm Fitschen <t.fitschen@indiscale.com> +# Copyright (C) 2024 Florian Spreckelsen <f.spreckelsen@indiscale.com> +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU Affero General Public License as +# published by the Free Software Foundation, either version 3 of the +# License, or (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see <https://www.gnu.org/licenses/>. +# + +# Update mysql schema to version v8.0.0 +# +# The patch is empty because the change has to be applied manually +# from ../../dump_updates/2024-10-02.dump_fix_mariadb_10_6.sh if necessary. + +NEW_VERSION="v8.0.0" +OLD_VERSION="v7.0.2" + +if [ -z "$UTILSPATH" ]; then + UTILSPATH="../utils" +fi + +. $UTILSPATH/patch_header.sh $* + +check_version $OLD_VERSION + +update_version $NEW_VERSION + +success