Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .env.example
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,10 @@ NODE_ENV=development
DISCORD_TOKEN=your-bot-token-here
BOT_ON_HEVY_AUTH_TOKEN=your-hevy-auth-token-here
BOT_ON_HEVY_USERNAME=ChevyBot

DATABASE_URL=your-database-url-here
DIRECT_URL=your-database-url-here

POSTHOG_API_KEY=posthog-api-key
POSTHOG_HOST=posthog-host

Expand Down
5 changes: 3 additions & 2 deletions packages/database/prisma/schema.prisma
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,9 @@ generator client {
}

datasource db {
provider = "postgresql"
url = env("DATABASE_URL")
provider = "postgresql"
url = env("DATABASE_URL")
directUrl = env("DIRECT_URL")
}

model User {
Expand Down
Loading