From 24d6e3a543a7dfb8ceb0c2e099b0e2c5a18db78b Mon Sep 17 00:00:00 2001 From: Dotta Date: Fri, 13 Mar 2026 09:25:04 -0500 Subject: [PATCH] fix: align embedded postgres ctor types with initdbFlags usage --- cli/src/commands/worktree.ts | 1 + packages/db/src/migration-runtime.ts | 1 + 2 files changed, 2 insertions(+) diff --git a/cli/src/commands/worktree.ts b/cli/src/commands/worktree.ts index 94a1b8aa..582bb5dd 100644 --- a/cli/src/commands/worktree.ts +++ b/cli/src/commands/worktree.ts @@ -83,6 +83,7 @@ type EmbeddedPostgresCtor = new (opts: { password: string; port: number; persistent: boolean; + initdbFlags?: string[]; onLog?: (message: unknown) => void; onError?: (message: unknown) => void; }) => EmbeddedPostgresInstance; diff --git a/packages/db/src/migration-runtime.ts b/packages/db/src/migration-runtime.ts index 10b7b9b1..e07bdf04 100644 --- a/packages/db/src/migration-runtime.ts +++ b/packages/db/src/migration-runtime.ts @@ -17,6 +17,7 @@ type EmbeddedPostgresCtor = new (opts: { password: string; port: number; persistent: boolean; + initdbFlags?: string[]; onLog?: (message: unknown) => void; onError?: (message: unknown) => void; }) => EmbeddedPostgresInstance;