mirror of
https://github.com/ArthurDanjou/artdanj-api.git
synced 2026-01-14 12:14:33 +01:00
Working on posts
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user