Commit 86ff0b84 authored by Tom Käsler's avatar Tom Käsler

Remove id from model. PK is userId+commentId

parent 1e01e203
Pipeline #27088 passed with stages
in 6 minutes and 55 seconds
export class Vote {
id: string;
userId: string;
commentId: string;
vote: number;
......@@ -7,7 +6,6 @@ export class Vote {
constructor(userId: string ,
commentId: string,
vote: number) {
this.id = '';
this.userId = userId;
this.commentId = commentId;
this.vote = vote;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment