diff --git a/apps/bulldozer-js/src/index.ts b/apps/bulldozer-js/src/index.ts index 0ab786c7f..30df9a394 100644 --- a/apps/bulldozer-js/src/index.ts +++ b/apps/bulldozer-js/src/index.ts @@ -76,8 +76,9 @@ const bulldozerDb = declareBulldozerDatabase( }), { migrations: schema.migrations }, ); -await traceSpan("bulldozer-js.applyRemainingMigrations", async () => await bulldozerDb.applyRemainingMigrations()); (globalThis as any).bulldozerDb = bulldozerDb; +console.log("Stored bulldozerDb in globalThis for pid " + process.pid); +await traceSpan("bulldozer-js.applyRemainingMigrations", async () => await bulldozerDb.applyRemainingMigrations()); function jsonResponse(body: unknown, init?: ResponseInit) { return new Response(JSON.stringify(body), {