mirror of
https://github.com/IT4Change/gradido.git
synced 2025-12-13 07:45:54 +00:00
Update database/entity/0037-add_contribution_links_table/ContributionLinks.ts
Co-authored-by: Moriz Wahl <moriz.wahl@gmx.de>
This commit is contained in:
parent
114465c234
commit
b65aa5cefc
@ -72,8 +72,8 @@ export class ContributionLinks extends BaseEntity {
|
||||
})
|
||||
minGapHours: number | null
|
||||
|
||||
@Column({ name: 'created_at', type: 'datetime', nullable: true, default: null })
|
||||
createdAt: Date | null
|
||||
@Column({ name: 'created_at', type: 'datetime', default: () => 'CURRENT_TIMESTAMP' })
|
||||
createdAt: Date
|
||||
|
||||
@DeleteDateColumn()
|
||||
deletedAt: Date | null
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user