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

update postgresql to pg17 #541

Merged
merged 1 commit into from
Feb 3, 2025
Merged

update postgresql to pg17 #541

merged 1 commit into from
Feb 3, 2025

Conversation

maurerle
Copy link
Member

@maurerle maurerle commented Feb 2, 2025

Pull Request

This requires to either upgrade the existing postgresql database to pg17 through pg_dump or removing the assume-db folder completely.

I think that most people currently interacting with assume are not required to keep the data or have set up a dedicated database server, so this should not run into problems:

run the following snippet to get a new database running:

docker compose down
sudo rm -r assume-db
docker compose up -d

Related Issue

Closes #518

@maurerle
Copy link
Member Author

maurerle commented Feb 2, 2025

@mthede @nick-harder @kim-mskw could you take a look if this works for you? :)

Copy link

codecov bot commented Feb 2, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 78.29%. Comparing base (4c6ad33) to head (3b12d32).
Report is 1 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #541   +/-   ##
=======================================
  Coverage   78.29%   78.29%           
=======================================
  Files          51       51           
  Lines        7013     7013           
=======================================
  Hits         5491     5491           
  Misses       1522     1522           
Flag Coverage Δ
pytest 78.29% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@nick-harder
Copy link
Member

@maurerle this for sure needs a mention in the release notes with the warning to update or delete the folder when switching versions

@maurerle maurerle mentioned this pull request Feb 2, 2025
@nick-harder nick-harder merged commit 43b9614 into main Feb 3, 2025
9 checks passed
@nick-harder nick-harder deleted the update_postgresql branch February 3, 2025 10:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

postgres volumes need to be adjusted for correct permissions
2 participants