Addition of vectochord

This commit is contained in:
alexbelgium
2025-05-26 10:26:38 +02:00
parent 0665a8d7b6
commit 6559a532ce
4 changed files with 21 additions and 1 deletions

View File

@@ -1,3 +1,5 @@
- MAJOR CHANGE : please backup your database before updating
- Added VectorChord support https://github.com/immich-app/immich/releases/tag/v1.133.0
## 1.133.1 (24-05-2025)
- Update to latest version from imagegenius/docker-immich (changelog : https://github.com/imagegenius/docker-immich/releases)

View File

@@ -164,6 +164,20 @@ check_vector_extension() {
fi
}
# Function to check if vchord extension is enabled
check_vchord_extension() {
echo "Checking if 'vchord' extension is enabled..."
RESULT=$(psql "postgres://$DB_USERNAME:$DB_PASSWORD@$DB_HOSTNAME:$DB_PORT" -tAc "SELECT extname FROM pg_extension WHERE extname = 'vchord';")
if [[ "$RESULT" == "vchord" ]]; then
echo "✅ 'vchord' extension is enabled."
exit 0
else
bashio::log.warning "❌ 'vchord' extension is NOT enabled."
return 1
fi
}
#########################
# Main script execution #
#########################
@@ -185,4 +199,4 @@ export_db_env
setup_root_user
setup_database
check_vector_extension
check_vchord_extension || check_vector_extension

View File

@@ -1,3 +1,5 @@
- MAJOR CHANGE : please backup your database before updating
- Added VectorChord support https://github.com/immich-app/immich/releases/tag/v1.133.0
## 1.133.1 (24-05-2025)
- Update to latest version from imagegenius/docker-immich (changelog : https://github.com/imagegenius/docker-immich/releases)

View File

@@ -1,3 +1,5 @@
- MAJOR CHANGE : please backup your database before updating
- Added VectorChord support https://github.com/immich-app/immich/releases/tag/v1.133.0
## 1.133.1 (24-05-2025)
- Update to latest version from imagegenius/docker-immich (changelog : https://github.com/imagegenius/docker-immich/releases)