Fix column

This commit is contained in:
2021-08-28 22:55:10 +02:00
parent fecdfb16da
commit 51aab6d0bd

View File

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