mirror of
https://github.com/zoriya/Kyoo.git
synced 2025-11-21 05:53:11 -05:00
Cleanup casing in api extension setup
This commit is contained in:
parent
0a862c3782
commit
40c13e7ddf
@ -120,8 +120,8 @@ export const migrate = async () => {
|
|||||||
await db.execute(
|
await db.execute(
|
||||||
sql.raw(`
|
sql.raw(`
|
||||||
create extension if not exists pg_trgm;
|
create extension if not exists pg_trgm;
|
||||||
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;
|
alter database "${postgresConfig.database}" set pg_trgm.word_similarity_threshold = 0.4;
|
||||||
`),
|
`),
|
||||||
);
|
);
|
||||||
} catch (err: any) {
|
} catch (err: any) {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user