mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-06-08 16:45:56 +02:00
Addition of vectochord
This commit is contained in:
@@ -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)
|
## 1.133.1 (24-05-2025)
|
||||||
- Update to latest version from imagegenius/docker-immich (changelog : https://github.com/imagegenius/docker-immich/releases)
|
- Update to latest version from imagegenius/docker-immich (changelog : https://github.com/imagegenius/docker-immich/releases)
|
||||||
|
|||||||
@@ -164,6 +164,20 @@ check_vector_extension() {
|
|||||||
fi
|
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 #
|
# Main script execution #
|
||||||
#########################
|
#########################
|
||||||
@@ -185,4 +199,4 @@ export_db_env
|
|||||||
|
|
||||||
setup_root_user
|
setup_root_user
|
||||||
setup_database
|
setup_database
|
||||||
check_vector_extension
|
check_vchord_extension || check_vector_extension
|
||||||
|
|||||||
@@ -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)
|
## 1.133.1 (24-05-2025)
|
||||||
- Update to latest version from imagegenius/docker-immich (changelog : https://github.com/imagegenius/docker-immich/releases)
|
- Update to latest version from imagegenius/docker-immich (changelog : https://github.com/imagegenius/docker-immich/releases)
|
||||||
|
|||||||
@@ -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)
|
## 1.133.1 (24-05-2025)
|
||||||
- Update to latest version from imagegenius/docker-immich (changelog : https://github.com/imagegenius/docker-immich/releases)
|
- Update to latest version from imagegenius/docker-immich (changelog : https://github.com/imagegenius/docker-immich/releases)
|
||||||
|
|||||||
Reference in New Issue
Block a user