From dbb240da979f08924fb5314ea9c25e89b53a4530 Mon Sep 17 00:00:00 2001 From: Made Baruna Date: Wed, 13 Mar 2024 15:27:38 +0800 Subject: [PATCH] Trying to fix migration --- src/index.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/index.ts b/src/index.ts index 4d95f45..c71bfd7 100644 --- a/src/index.ts +++ b/src/index.ts @@ -65,6 +65,7 @@ const dbOptions: PostgresConnectionOptions = { logging: false, migrations: ['migrations/*.*'], migrationsRun: true, + migrationsTransactionMode: 'each', }; async function start(): Promise {