Working on posts

This commit is contained in:
2021-08-23 17:59:12 +02:00
parent 8c5032fa72
commit 40249dc55e
4 changed files with 24 additions and 2 deletions

View File

@@ -44,6 +44,9 @@ export default class Post extends BaseModel {
@column()
public readingTime: number
@column()
public date: string
@column.dateTime({ autoCreate: true })
public createdAt: DateTime