diff --git a/apps/bulldozer-js/src/index.ts b/apps/bulldozer-js/src/index.ts index 2ed8508e7..0ab786c7f 100644 --- a/apps/bulldozer-js/src/index.ts +++ b/apps/bulldozer-js/src/index.ts @@ -77,6 +77,7 @@ const bulldozerDb = declareBulldozerDatabase( { migrations: schema.migrations }, ); await traceSpan("bulldozer-js.applyRemainingMigrations", async () => await bulldozerDb.applyRemainingMigrations()); +(globalThis as any).bulldozerDb = bulldozerDb; function jsonResponse(body: unknown, init?: ResponseInit) { return new Response(JSON.stringify(body), {