User tests: Successful: Unsuccessful:
Pull Request for Issue # .
This change was created with the help of AI (Claude Code).
sql/updates/postgresql/5.1.0.sql calls jsonb_set() with five arguments. jsonb_set(target, path, new_value [, create_missing]) only accepts three or four, so PostgreSQL raises function jsonb_set(jsonb, unknown, unknown, unknown, unknown) does not exist and the update stops at 5.1.0.
This PR uses the same, correctly nested statements as 5.2.0.sql.
On PostgreSQL, install Weblinks 5.0.0, then update to a package built from this branch. Check System → Maintenance → Database.
Update runs without errors, no database problems are reported.
Update fails on the 5.1.0 schema update with a jsonb_set error.
None