Skip to content

Commit

Permalink
update env
Browse files Browse the repository at this point in the history
  • Loading branch information
nuuxcode committed Dec 17, 2023
1 parent bcc8f8a commit bb96f4e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions api/.env.example
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
POSTGRES_USER=bikehub
POSTGRES_PASSWORD=Bike-Hub
POSTGRES_DB=bikehub
DATABASE_URL=postgresql://bikehub:Bike-Hub@localhost:5432/bikehub?schema=public
DATABASE_URL_LOCAL=postgresql://bikehub:Bike-Hub@localhost:5432/bikehub?schema=public
DATABASE_URL_DEV=postgresql://bikehub:Bike-Hub@34.175.134.108:5432/bikehub?schema=public
DATABASE_URL_PROD=postgresql://bikehub:Bike-Hub@142.93.105.168:5432/bikehub?schema=public
Expand Down
2 changes: 1 addition & 1 deletion api/prisma/schema.prisma
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ generator client {

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

model Bike {
Expand Down

0 comments on commit bb96f4e

Please sign in to comment.