Skip to content

Instantly share code, notes, and snippets.

@almeida1492
Created June 23, 2022 15:25
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save almeida1492/1df4d79137101c64c5d14a913f979264 to your computer and use it in GitHub Desktop.
Save almeida1492/1df4d79137101c64c5d14a913f979264 to your computer and use it in GitHub Desktop.
datasource db {
provider = "postgresql"
url = env("DATABASE_URL")
shadowDatabaseUrl = env("SHADOW_DATABASE_URL")
}
generator client {
provider = "prisma-client-js"
}
model Report {
id Int @id @default(autoincrement())
reporter String?
createdAt DateTime
lat Float
lng Float
streetName String
neighborhood String
civicNumber String
lotColor String
notes String?
isActive Boolean @default(true)
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment