[PR #7277] [MERGED] fix(server): quote database name in migration #11571

Closed
opened 2026-02-05 14:41:58 +03:00 by OVERLORD · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/immich-app/immich/pull/7277
Author: @mertalev
Created: 2/21/2024
Status: Merged
Merged: 2/21/2024
Merged by: @zackpollard

Base: mainHead: fix/quote-database


📝 Commits (1)

📊 Changes

1 file changed (+2 additions, -2 deletions)

View changed files

📝 server/src/infra/migrations/1707000751533-AddVectorsToSearchPath.ts (+2 -2)

📄 Description

Description

The migration doesn't take into account "atypical" database names that can cause a syntax error if unquoted.

Fixes #7276


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/immich-app/immich/pull/7277 **Author:** [@mertalev](https://github.com/mertalev) **Created:** 2/21/2024 **Status:** ✅ Merged **Merged:** 2/21/2024 **Merged by:** [@zackpollard](https://github.com/zackpollard) **Base:** `main` ← **Head:** `fix/quote-database` --- ### 📝 Commits (1) - [`38efe32`](https://github.com/immich-app/immich/commit/38efe320e30489ec0f1030b50b99273283c453e3) quote database name ### 📊 Changes **1 file changed** (+2 additions, -2 deletions) <details> <summary>View changed files</summary> 📝 `server/src/infra/migrations/1707000751533-AddVectorsToSearchPath.ts` (+2 -2) </details> ### 📄 Description ## Description The migration doesn't take into account "atypical" database names that can cause a syntax error if unquoted. Fixes #7276 --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
OVERLORD added the pull-request label 2026-02-05 14:41:58 +03:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: immich-app/immich#11571