This commit is contained in:
2021-08-28 23:00:53 +02:00
parent 778cda6543
commit b8dc79989a
2 changed files with 7 additions and 7 deletions

View File

@@ -53,10 +53,10 @@ export default class Post extends BaseModel {
@belongsTo(() => PostColor, {
foreignKey: 'postColorId'
})
public postColor: BelongsTo<typeof PostColor>
public color: BelongsTo<typeof PostColor>
@column()
public postColorId: number
public colorId: number
@column()
public readingTime: number