Compare commits

...

2 Commits

Author SHA1 Message Date
7e05333158 Add renovate.json 2026-03-10 18:01:12 +00:00
68e529d369 add postgres collation version mismatch fix function 2026-02-20 14:24:08 +01:00
2 changed files with 13 additions and 0 deletions

View File

@ -98,3 +98,10 @@ delete_duplicate_users() {
delete_user_by_id "$USERID_OLD" "$USERID_NEW"
done
}
fix_collation_mismatch() {
psql -U ${POSTGRES_USER} -d outline -c "ALTER DATABASE outline REFRESH COLLATION VERSION;"
psql -U ${POSTGRES_USER} -d outline -c "REINDEX DATABASE outline;"
psql -U ${POSTGRES_USER} -d postgres -c "ALTER DATABASE postgres REFRESH COLLATION VERSION;"
psql -U ${POSTGRES_USER} -d postgres -c "REINDEX DATABASE postgres;"
}

6
renovate.json Normal file
View File

@ -0,0 +1,6 @@
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": [
"config:recommended"
]
}