mirror of
https://github.com/IT4Change/gradido.git
synced 2025-12-13 07:45:54 +00:00
Update database/entity/0044-adapt_users_table_for_gradidoid/UserContact.ts
Co-authored-by: Moriz Wahl <moriz.wahl@gmx.de>
This commit is contained in:
parent
5d15ea7d7a
commit
950241a2f0
@ -14,8 +14,8 @@ export class UserContact extends BaseEntity {
|
||||
})
|
||||
type: string
|
||||
|
||||
@Column({ name: 'users_id', type: 'int', unsigned: true, nullable: false })
|
||||
usersId?: number | null
|
||||
@Column({ name: 'user_id', type: 'int', unsigned: true, nullable: false })
|
||||
userId: number
|
||||
|
||||
@Column({ length: 255, unique: true, nullable: false, collation: 'utf8mb4_unicode_ci' })
|
||||
email: string
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user