Merge pull request #3602 from omnivore-app/fix/admin-features-granted-at

Update timestamp column names for features table
This commit is contained in:
Jackson Harper 2024-02-29 20:33:54 +08:00 committed by GitHub
commit 875a5c5b0e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -462,10 +462,10 @@ export class Features extends BaseEntity {
@Column('text')
name!: string
@Column('timestamp', { nullable: true })
@Column('timestamp', { nullable: true, name: 'granted_at' })
grantedAt?: Date | null
@Column('timestamp', { nullable: true })
@Column('timestamp', { nullable: true, name: 'expires_at' })
expiresAt?: Date | null
@Column({ type: 'timestamp', name: 'created_at' })