Skip to content

Commit

Permalink
chore: remove useless logs
Browse files Browse the repository at this point in the history
  • Loading branch information
finxol committed Jan 23, 2025
1 parent 9e57f89 commit 2af4d78
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 6 deletions.
6 changes: 1 addition & 5 deletions packages/db/src/db_conn.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { drizzle } from "drizzle-orm/postgres-js"

import { getDbConfig, PRODUCTION } from "@karr/config"
import { getDbConfig } from "@karr/config"

const config = getDbConfig()

Expand All @@ -21,10 +21,6 @@ const connection = {

let db
try {
if (!PRODUCTION) {
console.log("Connecting to database...", { connection })
}

db = drizzle({ connection })

// Test the connection
Expand Down
1 change: 0 additions & 1 deletion packages/db/src/migrate.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ export async function drizzleMigrate(): Promise<void> {
? path.join(__dirname, "./migrations")
: path.join(__dirname, "../migrations")

logger.debug("Migrations path:", migrationsFolder)
try {
await migrate(db, {
migrationsFolder
Expand Down

0 comments on commit 2af4d78

Please sign in to comment.