From ffd004e00dff485b7bc5ddde0278dde6ff058b9e Mon Sep 17 00:00:00 2001 From: bholmesdev Date: Tue, 30 Apr 2024 18:03:04 -0400 Subject: [PATCH] Revert "wip: log db url" This reverts commit 558e2de67a09a611377929b625127c649b8504d6. --- packages/db/src/core/integration/vite-plugin-db.ts | 1 - 1 file changed, 1 deletion(-) diff --git a/packages/db/src/core/integration/vite-plugin-db.ts b/packages/db/src/core/integration/vite-plugin-db.ts index 1a294bbf00e7..bcdea86f2d28 100644 --- a/packages/db/src/core/integration/vite-plugin-db.ts +++ b/packages/db/src/core/integration/vite-plugin-db.ts @@ -175,7 +175,6 @@ const sqlite = new SQLiteAsyncDialect(); async function recreateTables({ tables, root }: { tables: LateTables; root: URL }) { const { ASTRO_DATABASE_FILE } = getAstroEnv(); const dbUrl = normalizeDatabaseUrl(ASTRO_DATABASE_FILE, new URL(DB_PATH, root).href); - console.log('recreating:::', dbUrl, ASTRO_DATABASE_FILE, new URL(DB_PATH, root).href); const db = createLocalDatabaseClient({ dbUrl }); const setupQueries: SQL[] = []; for (const [name, table] of Object.entries(tables.get() ?? {})) {