From 65d3b16bcb722787226df787af7335debd6085c7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nuno=20G=C3=B3is?= Date: Thu, 4 Sep 2025 12:55:15 +0100 Subject: [PATCH] chore: leave out migrator for now --- src/migrator.ts | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/migrator.ts b/src/migrator.ts index 4acf27658a..8543cefb98 100644 --- a/src/migrator.ts +++ b/src/migrator.ts @@ -6,7 +6,6 @@ import type { IUnleashConfig } from './lib/types/option.js'; import { secondsToMilliseconds } from 'date-fns'; import path from 'path'; import { fileURLToPath } from 'node:url'; -import { getDBPassword } from './lib/db/aws-iam.js'; log.setLogLevel('error'); const __filename = fileURLToPath(import.meta.url); @@ -26,7 +25,6 @@ export async function migrateDb( return noDatabaseUrl(async () => { const custom = { ...db, - password: await getDBPassword(db), connectionTimeoutMillis: secondsToMilliseconds(10), }; @@ -48,7 +46,6 @@ export async function requiresMigration({ return noDatabaseUrl(async () => { const custom = { ...db, - password: await getDBPassword(db), connectionTimeoutMillis: secondsToMilliseconds(10), }; @@ -70,7 +67,6 @@ export async function resetDb({ db }: IUnleashConfig): Promise { return noDatabaseUrl(async () => { const custom = { ...db, - password: await getDBPassword(db), connectionTimeoutMillis: secondsToMilliseconds(10), };