diff --git a/backend/src/models/mini_data_lake/cidrs.ts b/backend/src/models/mini_data_lake/cidrs.ts index ce43060c..2ce9a5f1 100644 --- a/backend/src/models/mini_data_lake/cidrs.ts +++ b/backend/src/models/mini_data_lake/cidrs.ts @@ -2,7 +2,7 @@ import { Entity, Index, Column, - PrimaryColumn, + PrimaryGeneratedColumn, CreateDateColumn, BaseEntity, ManyToMany, @@ -13,7 +13,7 @@ import { Request } from './requests'; import { Organization } from './organizations'; @Entity() export class Cidr extends BaseEntity { - @PrimaryColumn() + @PrimaryGeneratedColumn() id: string; @CreateDateColumn()