change user to uuid
This commit is contained in:
parent
07f8e2dbcb
commit
f89483f878
46 changed files with 146 additions and 151 deletions
|
@ -38,7 +38,7 @@ export class communication {
|
|||
streetNumberAddition: string;
|
||||
|
||||
@Column()
|
||||
memberId: number;
|
||||
memberId: string;
|
||||
|
||||
@Column()
|
||||
typeId: number;
|
||||
|
|
|
@ -8,8 +8,8 @@ import { salutation } from "../../settings/salutation";
|
|||
|
||||
@Entity()
|
||||
export class member {
|
||||
@PrimaryColumn({ generated: "increment", type: "int" })
|
||||
id: number;
|
||||
@PrimaryColumn({ generated: "uuid", type: "varchar" })
|
||||
id: string;
|
||||
|
||||
@Column({ type: "varchar", length: 255 })
|
||||
firstname: string;
|
||||
|
|
|
@ -17,7 +17,7 @@ export class memberAwards {
|
|||
date: Date;
|
||||
|
||||
@Column()
|
||||
memberId: number;
|
||||
memberId: string;
|
||||
|
||||
@Column()
|
||||
awardId: number;
|
||||
|
|
|
@ -17,7 +17,7 @@ export class memberExecutivePositions {
|
|||
end?: Date;
|
||||
|
||||
@Column()
|
||||
memberId: number;
|
||||
memberId: string;
|
||||
|
||||
@Column()
|
||||
executivePositionId: number;
|
||||
|
|
|
@ -20,7 +20,7 @@ export class memberQualifications {
|
|||
terminationReason?: string;
|
||||
|
||||
@Column()
|
||||
memberId: number;
|
||||
memberId: string;
|
||||
|
||||
@Column()
|
||||
qualificationId: number;
|
||||
|
|
|
@ -17,7 +17,7 @@ export class membership {
|
|||
terminationReason?: string;
|
||||
|
||||
@Column()
|
||||
memberId: number;
|
||||
memberId: string;
|
||||
|
||||
@Column()
|
||||
statusId: number;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue