Merge remote-tracking branch 'origin/dev'
This commit is contained in:
commit
add3c7a648
|
@ -5,6 +5,6 @@ import cfg from "./config.mjs";
|
||||||
const db = postgres(cfg.sql);
|
const db = postgres(cfg.sql);
|
||||||
|
|
||||||
if(cfg.sql.schema)
|
if(cfg.sql.schema)
|
||||||
await db.unsafe(`set schema '${cfg.sql.schema}';`);
|
await db.unsafe(`set search_path to '${cfg.sql.schema}';`);
|
||||||
|
|
||||||
export default db;
|
export default db;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user