Add publish date.

This commit is contained in:
Dillon Kearns 2023-02-04 08:06:42 -08:00
parent 0cc4ffe0d3
commit 219e4b3a12

View File

@ -9,9 +9,10 @@ datasource db {
}
model Post {
title String
slug String @id
body String
title String
slug String @id
body String
publish DateTime? @db.Date
createdAt DateTime @default(now())
updatedAt DateTime @updatedAt