parent
8caf288ac1
commit
71c42bef9b
8 changed files with 36 additions and 8 deletions
|
|
@ -18,6 +18,12 @@ export class Ad {
|
|||
})
|
||||
public expiresAt: Date;
|
||||
|
||||
@Index()
|
||||
@Column('timestamp with time zone', {
|
||||
comment: 'The expired date of the Ad.',
|
||||
})
|
||||
public startAt: Date;
|
||||
|
||||
@Column('varchar', {
|
||||
length: 32, nullable: false,
|
||||
})
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue