Skip to content

Instantly share code, notes, and snippets.

@ravinduramesh
Created February 27, 2024 03:55
// 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 UserRole {
mobileAppUser
misAdmin
misSuperAdmin
}
model MisUsers {
uid String @unique @id
role UserRole
name String
address Json
email String
createdAt DateTime @default(now())
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment