mirror of
https://github.com/fosrl/pangolin.git
synced 2026-01-28 22:00:51 +00:00
Make query optional
This commit is contained in:
@@ -73,7 +73,7 @@ function createDb() {
|
|||||||
|
|
||||||
return withReplicas(
|
return withReplicas(
|
||||||
DrizzlePostgres(primaryPool, {
|
DrizzlePostgres(primaryPool, {
|
||||||
logger: process.env.NODE_ENV === "development"
|
logger: process.env.QUERY_LOGGING === "true"
|
||||||
}),
|
}),
|
||||||
replicas as any
|
replicas as any
|
||||||
);
|
);
|
||||||
|
|||||||
Reference in New Issue
Block a user