Chapter 3, Improving the Contact Form.

This commit is contained in:
Colin Diem
2022-04-21 17:52:22 -04:00
parent bb1638b38e
commit bc1cf7b5c3
7 changed files with 188 additions and 10 deletions

View File

@@ -14,3 +14,11 @@ model Post {
body String
createdAt DateTime @default(now())
}
model Contact {
id Int @id @default(autoincrement())
name String
email String
message String
createdAt DateTime @default(now())
}