Skip to content

Commit

Permalink
fix collation version on db upgrade
Browse files Browse the repository at this point in the history
  • Loading branch information
doomedraven committed Sep 28, 2024
1 parent a7057f2 commit 4d96d6a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions installer/cape2.sh
Original file line number Diff line number Diff line change
Expand Up @@ -889,6 +889,9 @@ function install_postgresql() {
python3 -m pip install pg_activity psycopg2-binary
sudo systemctl enable postgresql.service
sudo systemctl start postgresql.service

sudo -u postgres -H sh -c "psql -d \"${USER}\" -c \"ALTER DATABASE cape REFRESH COLLATION VERSION;\""
sudo -u postgres -H sh -c "psql -d \"${USER}\" -c \"ALTER DATABASE postgres REFRESH COLLATION VERSION;\""
}

function dependencies() {
Expand Down

0 comments on commit 4d96d6a

Please sign in to comment.