mirror of
https://github.com/dillonkearns/elm-pages-v3-beta.git
synced 2024-11-30 03:11:30 +03:00
Add publish date.
This commit is contained in:
parent
0cc4ffe0d3
commit
219e4b3a12
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user