Now Directus is on a hardened docker image, what’s the correct way to upgrade the database following a container update?
My flow used to be:
docker compose pull
docker compose down
docker compose run --rm {directus} npx directus database migrate:latest
docker compose up -d
but now npx and database modules ‘cannot be found’.
What should I do instead to bring my postgres database up-to-date following a Directus upgrade?
Thanks.
Hi @jogchum. That was how I thought it was supposed to work but I've always had to make the migration process part of my workflow. I've had upgrades break the install until I've run the migration manually. I used to be on mysql though until moving everything to Postgres. I know there was some lack of faith with mysql when talking to the Directus team
– David_O