Skip to content

Commit

Permalink
updated cidr PrimaryKey
Browse files Browse the repository at this point in the history
update the cidr columns primary key to be a UUID
  • Loading branch information
DJensen94 committed Mar 20, 2024
1 parent de3a2d4 commit 6b095b2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions backend/src/models/mini_data_lake/cidrs.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import {
Entity,
Index,
Column,
PrimaryColumn,
PrimaryGeneratedColumn,
CreateDateColumn,
BaseEntity,
ManyToMany,
Expand All @@ -13,7 +13,7 @@ import { Request } from './requests';
import { Organization } from './organizations';
@Entity()
export class Cidr extends BaseEntity {
@PrimaryColumn()
@PrimaryGeneratedColumn()
id: string;

@CreateDateColumn()
Expand Down

0 comments on commit 6b095b2

Please sign in to comment.