Created
June 23, 2022 15:25
-
-
Save almeida1492/1df4d79137101c64c5d14a913f979264 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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