diff --git a/src/lib/models/Friendship.ts b/src/lib/models/Friendship.ts index d767748..c9a65ac 100644 --- a/src/lib/models/Friendship.ts +++ b/src/lib/models/Friendship.ts @@ -11,7 +11,6 @@ export class Friendship extends Model { * The id of the first user */ @ForeignKey(() => User) - @PrimaryKey @NotNull @Column({allowNull: false}) public userId: number; @@ -20,7 +19,6 @@ export class Friendship extends Model { * The id of the second user */ @ForeignKey(() => User) - @PrimaryKey @NotNull @Column({allowNull: false}) public friendId: number;