wasp/examples/hackathon-submissions/schema.prisma
2024-07-15 16:25:55 +02:00

22 lines
427 B
Plaintext

datasource db {
provider = "postgresql"
url = env("DATABASE_URL")
}
generator client {
provider = "prisma-client-js"
}
model Submission {
name String @id @unique
email String @unique
github String
description String
twitter String?
country String?
website String?
image String?
approved Boolean @default(false)
createdAt DateTime @default(now())
}