Updated prisma schema for constraints
This commit is contained in:
6 files changed
+15
-5
No files matched your search
@@ -2,7 +2,7 @@ model Customer {
|
||||
id Int @id @default(autoincrement())
|
||||
|
||||
name String
|
||||
email String
|
||||
email String @unique
|
||||
phone String
|
||||
|
||||
cars Car[]
|
||||
|
||||
Reference in new issue
Block a user