広告開始時期の設定 (#9944)

* 広告開始時期の設定

* 過去のものも表示するように
This commit is contained in:
nenohi 2023-02-15 14:29:40 +09:00 committed by GitHub
parent 8caf288ac1
commit 71c42bef9b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
8 changed files with 36 additions and 8 deletions

View file

@ -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,
})