Skip to content

Commit

Permalink
Update schema
Browse files Browse the repository at this point in the history
  • Loading branch information
bytewife committed Apr 30, 2024
1 parent 3d16755 commit 5f0b625
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions prisma/schema.prisma
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@ generator client {
}

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

model InstagramEventOrganizer {
Expand All @@ -25,8 +25,8 @@ model InstagramEventOrganizer {
model InstagramEvent {
igId String @db.VarChar(255) @id
title String @db.VarChar(255)
start DateTime @db.DateTime
end DateTime @db.DateTime
start DateTime DateTime
end DateTime DateTime
url String @db.VarChar(255)
organizer InstagramEventOrganizer @relation(fields: [organizerId], references: [id])
organizerId Int
Expand Down

0 comments on commit 5f0b625

Please sign in to comment.