Skip to content

Commit

Permalink
update to use new postgres uri's for neondb
Browse files Browse the repository at this point in the history
  • Loading branch information
TomRadford committed Mar 22, 2024
1 parent 3724ea8 commit 8bfbc36
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions prisma/schema.prisma
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,12 @@ generator client {
}

datasource db {
provider = "mysql"
url = env("DATABASE_URL")
relationMode = "prisma"
provider = "postgresql"
url = env("POSTGRES_PRISMA_URL")
directUrl = env("POSTGRES_URL_NON_POOLING")
}


model Thought {
id String @id @default(uuid())
content String
Expand Down

0 comments on commit 8bfbc36

Please sign in to comment.