From 40c13e7ddff7b30101ca510cd5b829072c3410c3 Mon Sep 17 00:00:00 2001 From: Zoe Roux Date: Sun, 9 Nov 2025 19:08:58 +0100 Subject: [PATCH] Cleanup casing in api extension setup --- api/src/db/index.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/api/src/db/index.ts b/api/src/db/index.ts index cd010a7a..e8969cae 100644 --- a/api/src/db/index.ts +++ b/api/src/db/index.ts @@ -120,8 +120,8 @@ export const migrate = async () => { await db.execute( sql.raw(` create extension if not exists pg_trgm; - SET pg_trgm.word_similarity_threshold = 0.4; - ALTER DATABASE "${postgresConfig.database}" SET pg_trgm.word_similarity_threshold = 0.4; + set pg_trgm.word_similarity_threshold = 0.4; + alter database "${postgresConfig.database}" set pg_trgm.word_similarity_threshold = 0.4; `), ); } catch (err: any) {