// This is your Prisma schema file, // learn more about it in the docs: https://pris.ly/d/prisma-schema generator client { provider = "prisma-client-js" } datasource db { provider = "postgresql" url = env("DATABASE_URL") } enum Role { ADMIN // SERTI INSPECTOR // Fiscal de contrato USER // Usuário } model User { id Int @id @default(autoincrement()) username String? @unique mail String? displayName String? thumbnailPhoto String? createdAt DateTime @default(now()) updatedAt DateTime @default(now()) @updatedAt roles Role[] @default([USER]) }