mirror of
https://github.com/IT4Change/gradido.git
synced 2025-12-12 23:35:50 +00:00
remove default dates
This commit is contained in:
parent
9550c31cac
commit
f78f2d5977
@ -27,14 +27,12 @@ export class TransactionLink extends BaseEntity {
|
||||
|
||||
@Column({
|
||||
type: 'datetime',
|
||||
default: () => 'CURRENT_TIMESTAMP',
|
||||
nullable: false,
|
||||
})
|
||||
createdAt: Date
|
||||
|
||||
@Column({
|
||||
type: 'datetime',
|
||||
default: () => 'CURRENT_TIMESTAMP',
|
||||
nullable: false,
|
||||
})
|
||||
validUntil: Date
|
||||
@ -48,7 +46,6 @@ export class TransactionLink extends BaseEntity {
|
||||
|
||||
@Column({
|
||||
type: 'datetime',
|
||||
default: () => 'CURRENT_TIMESTAMP',
|
||||
nullable: true,
|
||||
})
|
||||
redeemedAt?: Date | null
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user