From df1209461b4b197b5f19c9d5bf4a71caf0c57f7d Mon Sep 17 00:00:00 2001 From: Simonas Karuzas Date: Mon, 23 Mar 2020 12:21:37 +0200 Subject: [PATCH] fix: Removing uuid from id --- packages/daf-core/src/entities/message.ts | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/packages/daf-core/src/entities/message.ts b/packages/daf-core/src/entities/message.ts index ea8e058dc..8ac486578 100644 --- a/packages/daf-core/src/entities/message.ts +++ b/packages/daf-core/src/entities/message.ts @@ -4,8 +4,7 @@ import { BaseEntity, ManyToOne, ManyToMany, - PrimaryGeneratedColumn, - OneToMany, + PrimaryColumn, JoinTable, CreateDateColumn, UpdateDateColumn, @@ -31,7 +30,7 @@ export class Message extends BaseEntity { } } - @PrimaryGeneratedColumn('uuid') + @PrimaryColumn() id: string @CreateDateColumn()