Drone failes to start with `pq: syntax error` when using oss tag

I updated to 2.15.0 with the oss tag and now my server refuses to start. I see the following error message:

{"error":"pq: syntax error at or near \")\"","level":"fatal","msg":"main: cannot initialize server","time":"2022-10-31T15:19:18+01:00"

I found an issue that seems related here: Drone server uses MySQL queries to initialize PostgreSQL database - #5 by smariot
But it’s quite old and there seems to be no fix.
Any help?