diff --git a/patches/patch20181119-2.1.0/patch.sh b/patches/patch20181119-2.1.0/patch.sh index e32a9daa983ae23ee3a071c95d9e2fa488999ad6..7315ff403765192cc988c8ecf996acb409d1dd63 100755 --- a/patches/patch20181119-2.1.0/patch.sh +++ b/patches/patch20181119-2.1.0/patch.sh @@ -21,7 +21,7 @@ # # ** end header # -# new insertEntity procedure +# new insertEntity procedure, new anonymous role # Update mysql schema to version v2.1.0 NEW_VERSION="v2.1.0" OLD_VERSION="v2.0.31" @@ -35,6 +35,8 @@ fi check_version $OLD_VERSION +mysql_execute "INSERT INTO roles (name, description) VALUES ('anonymous', 'Users who did not authenticate themselves.');" + update_version $NEW_VERSION success