mirror of
https://github.com/immich-app/immich
synced 2025-11-14 17:36:12 +00:00
refactor(server): version logic (#9615)
* refactor(server): version * test: better version and log checks
This commit is contained in:
parent
5f25f28c42
commit
1df7be8436
19 changed files with 404 additions and 509 deletions
|
|
@ -33,5 +33,5 @@ export const databaseConfig: PostgresConnectionOptions = {
|
|||
*/
|
||||
export const dataSource = new DataSource({ ...databaseConfig, host: 'localhost' });
|
||||
|
||||
export const vectorExt =
|
||||
export const getVectorExtension = () =>
|
||||
process.env.DB_VECTOR_EXTENSION === 'pgvector' ? DatabaseExtension.VECTOR : DatabaseExtension.VECTORS;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue