server
server copied to clipboard
fix: Use shortestName instead of sequenceName for Postgres seqence migration
- Resolves: #36789
Summary
Sequence migration fails on Postgres 15 because the sequenceName contains Postgres schema name which is not public. Access to the public schema has been removed in Postgres 15. If a schema with the name of the user exists, it is going to be used per default. The sequenceName contains the schema name and it is better to use the shortestName.
Checklist
- Code is properly formatted
- Sign-off message is added to all commits
- [ ] Tests (unit, integration, api and/or acceptance) are included
- [ ] Screenshots before/after for front-end changes
- [x ] Documentation (manuals or wiki) has been updated or is not required
- [ ] Backports requested where applicable (ex: critical bugfixes)