Add column()

This commit is contained in:
2021-08-23 13:44:46 +02:00
parent 6abe3e5601
commit bbebdf681d

View File

@@ -11,6 +11,7 @@ export default class Tag extends BaseModel {
})
public label: BelongsTo<typeof Translation>
@column()
public labelId: number
@column.dateTime({ autoCreate: true })