From 1c5096e00dc84b7a12c4c8b67fd64fbd577557d5 Mon Sep 17 00:00:00 2001 From: ingalls Date: Fri, 19 Jan 2024 09:33:05 -0700 Subject: [PATCH] Add migrationsFolder to opts --- lib/pool.ts | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/lib/pool.ts b/lib/pool.ts index 93f1e27..879eed8 100644 --- a/lib/pool.ts +++ b/lib/pool.ts @@ -70,6 +70,7 @@ export default class Pool = Record = Record>(connstr: string, schema: TSchema, opts: { retry?: number; + migrationsFolder?: string; jsonschema?: { dir: string | URL; }; @@ -102,7 +103,9 @@ export default class Pool = Record