mirror of
https://github.com/ArthurDanjou/artdanj-api.git
synced 2026-01-27 01:50:26 +01:00
Add color in Announce model
Signed-off-by: Arthur DANJOU <arthurdanjou@outlook.fr>
This commit is contained in:
@@ -7,6 +7,12 @@ export default class Announce extends BaseModel {
|
||||
@column({ isPrimary: true })
|
||||
public id: number
|
||||
|
||||
@column()
|
||||
public color: string
|
||||
|
||||
@column()
|
||||
public hoverColor: string
|
||||
|
||||
@belongsTo(() => Translation)
|
||||
public message: BelongsTo<typeof Translation>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user