Implement PostgreSQL upgrade and rollback scripts, update docker-compose for PostgreSQL version 17.5, and enhance .gitignore to include backup files. Add README for upgrade instructions.

This commit is contained in:
Yuri-Lima
2025-08-31 12:11:50 +02:00
parent 9b841b21d9
commit 16c737c816
7 changed files with 160601 additions and 1 deletions

View File

@@ -0,0 +1,16 @@
## Upgrade Modes
> [`Cloud Servers`](https://phx-erp.youtrack.cloud/articles/INT-A-105/PostgreSQL-Docker-Upgrade-Rollback-Guide-Any-Version-Any-Version?edit=true)
> [`Self Hosted`](https://phx-erp.youtrack.cloud/articles/INT-A-106/PostgreSQL-Upgrade-Rollback-Self-Hosted)
# Quick Move
## Upgrade PostgreSQL
```bash
docker compose --profile postgres-upgrade run --rm postgres-auto-upgrade
```
## Rollback PostgreSQL (if needed)
```bash
docker compose --profile postgres-rollback run --rm postgres-auto-rollback
```