mirror of
https://github.com/immich-app/immich.git
synced 2025-07-31 15:08:44 -04:00
fix: quote database params migration
This commit is contained in:
parent
6a309129b7
commit
cc5d7d4c12
@ -18,7 +18,7 @@ export async function up(qb: Kysely<any>): Promise<void> {
|
||||
if (key === 'vchordrq.prewarm_dim') {
|
||||
continue;
|
||||
}
|
||||
await sql.raw(`alter database "${db}" set ${key} to ${value};`).execute(qb);
|
||||
await sql.raw(`alter database "${db}" set "${key}" to '${value}';`).execute(qb);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user