Basically what happened is that I renamed the folder where my nextcloud docker-compose.yml is. Then I did docker-compose up -d which means that the postgres container created new volume since I did not use named volumes.
This wouldn't be so bad since the old volume was still there, just not attached to any container.
But then I run docker volume prune
Monumental stupidity
Fortunately I didn't loose any actual data.
Yet