WIP
This commit is contained in:
@@ -1,6 +1,13 @@
|
||||
# Docker migration helper
|
||||
|
||||
## Test
|
||||
Create an outdated database
|
||||
```bash
|
||||
mkdir test-db
|
||||
docker run --rm --name testdb -u 1000 -e POSTGRES_PASSWORD=password -v $(pwd)/test-db:/var/lib/postgresql/data -it postgres:16
|
||||
```
|
||||
docker run --rm --name testdb -e POSTGRES_PASSWORD=password -v $(pwd)/test-db:/var/lib/postgresql/data -it postgres:16
|
||||
|
||||
Perform the migration:
|
||||
```bash
|
||||
./build.sh && docker run -u 1000 -v $(pwd)/test-db:/db --rm -it pierre42100/postgresmig:16to17
|
||||
```
|
Reference in New Issue
Block a user