Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upgrade PostgreSQL to v16 #247

Open
HerHde opened this issue Oct 24, 2023 · 1 comment
Open

Upgrade PostgreSQL to v16 #247

HerHde opened this issue Oct 24, 2023 · 1 comment
Labels
dependencies Pull requests that update a dependency file

Comments

@HerHde
Copy link

HerHde commented Oct 24, 2023

Heyo,

I've started a fresh Astuto with the recommended docker-compose.yml, but changed the PG image to a newer major:

  db:
-    image: postgres:14.5
+    image: postgres:16.0

I had no problems when I gave it a quick test run. Now my questions:

  1. Do you intend to upgrade the referenced version to v16?
  2. Is there an upgrade path, aka, does the DB need a manual migration, do you build it into Astuto or document it?

Thanks a lot!

@riggraz
Copy link
Collaborator

riggraz commented Jan 9, 2024

Hi HerHde, thanks for reaching out.

I'm happy to hear that Astuto works fine with postgres v16. If you feel like it, you can open a PR with the change so we could see if the test suite runs fine!

Is there an upgrade path, aka, does the DB need a manual migration, do you build it into Astuto or document it?

I'm not entirely sure what you mean here. Yes, the DB needs a manual migration each time its schema is changed: the migration is performed when you launch the container, i.e. when you run docker compose up. Hopefully that answers your question.

@riggraz riggraz added the dependencies Pull requests that update a dependency file label Jan 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file
Projects
None yet
Development

No branches or pull requests

2 participants