diff --git a/backend/src/models/mini_data_lake/cidrs.ts b/backend/src/models/mini_data_lake/cidrs.ts index 2ce9a5f1..40047b91 100644 --- a/backend/src/models/mini_data_lake/cidrs.ts +++ b/backend/src/models/mini_data_lake/cidrs.ts @@ -13,7 +13,7 @@ import { Request } from './requests'; import { Organization } from './organizations'; @Entity() export class Cidr extends BaseEntity { - @PrimaryGeneratedColumn() + @PrimaryGeneratedColumn('uuid') id: string; @CreateDateColumn() diff --git a/backend/src/models/mini_data_lake/tag.ts b/backend/src/models/mini_data_lake/tag.ts index 917e19fd..60f4e09b 100644 --- a/backend/src/models/mini_data_lake/tag.ts +++ b/backend/src/models/mini_data_lake/tag.ts @@ -12,7 +12,7 @@ import { import { Organization } from './organizations'; @Entity() export class Tag extends BaseEntity { - @PrimaryGeneratedColumn() + @PrimaryGeneratedColumn('uuid') id: string; @Column({ diff --git a/backend/src/models/mini_data_lake/ticket_events.ts b/backend/src/models/mini_data_lake/ticket_events.ts index 2526d31b..c663c648 100644 --- a/backend/src/models/mini_data_lake/ticket_events.ts +++ b/backend/src/models/mini_data_lake/ticket_events.ts @@ -13,7 +13,7 @@ import { Ticket } from './tickets'; @Entity() export class TicketEvent extends BaseEntity { - @PrimaryGeneratedColumn() + @PrimaryGeneratedColumn('uuid') id: string; @Column({