Skip to content

Commit

Permalink
Revert "wip: log db url"
Browse files Browse the repository at this point in the history
This reverts commit 558e2de.
  • Loading branch information
bholmesdev committed Apr 30, 2024
1 parent 3b2f88b commit ffd004e
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion packages/db/src/core/integration/vite-plugin-db.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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() ?? {})) {
Expand Down

0 comments on commit ffd004e

Please sign in to comment.