Skip to content

Commit

Permalink
Refactor database configuration and package dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
Redskull-127 committed Sep 22, 2024
1 parent 485a51d commit 3e2fba9
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 5 deletions.
Binary file modified bun.lockb
Binary file not shown.
2 changes: 1 addition & 1 deletion db/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ const db = drizzle(
}),
{
schema,
logger: process.env['NODE_ENV'] === 'development' ? true : false,
logger: process.env['NODE_ENV'] === 'development',
},
);
export default db;
1 change: 1 addition & 0 deletions drizzle.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,6 @@ export default {

dbCredentials: {
url: process.env['DATABASE_URL']!,
ssl: process.env.NODE_ENV === 'production',
},
} satisfies Config;
8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@
"googleapis": "^144.0.0",
"isomorphic-ws": "^5.0.0",
"lottie-react": "^2.4.0",
"lucide-react": "^0.441.0",
"lucide-react": "^0.445.0",
"next": "^14.2.13",
"next-auth": "^5.0.0-beta.21",
"next-intl": "^3.19.4",
Expand All @@ -64,7 +64,7 @@
"postgres": "^3.4.4",
"posthog-js": "^1.163.0",
"react": "^18.3.1",
"react-day-picker": "8.10.1",
"react-day-picker": "^9.1.1",
"react-dom": "^18.3.1",
"react-hook-form": "^7.53.0",
"react-speech-recognition": "^3.10.0",
Expand All @@ -82,9 +82,9 @@
"zod": "^3.23.8"
},
"devDependencies": {
"@biomejs/biome": "1.9.1",
"@biomejs/biome": "^1.9.2",
"@types/bun": "^1.1.10",
"@types/chrome": "^0.0.270",
"@types/chrome": "^0.0.271",
"@types/node": "^22.5.5",
"@types/react": "^18.3.8",
"@types/react-dom": "^18.3.0",
Expand Down

0 comments on commit 3e2fba9

Please sign in to comment.