mirror of
https://github.com/IT4Change/gradido.git
synced 2025-12-13 07:45:54 +00:00
entity model users.isAdmin as nullable date
This commit is contained in:
parent
863ecfa474
commit
ba648c67a9
@ -58,8 +58,8 @@ export class User extends BaseEntity {
|
||||
@Column({ length: 4, default: 'de', collation: 'utf8mb4_unicode_ci', nullable: false })
|
||||
language: string
|
||||
|
||||
@Column({ name: 'is_admin', type: 'bool', nullable: false, default: false })
|
||||
isAdmin: boolean
|
||||
@Column({ name: 'is_admin', type: 'datetime', nullable: true, default: null })
|
||||
isAdmin: Date | null
|
||||
|
||||
@Column({ name: 'referrer_id', type: 'int', unsigned: true, nullable: true, default: null })
|
||||
referrerId?: number | null
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user