From d7ee4990c17bdd5bde9fe86106fe8bd7ff45e0cb Mon Sep 17 00:00:00 2001 From: Kononnable Date: Sun, 26 Aug 2018 01:51:09 +0200 Subject: [PATCH] #94 RelationInfo.isManyToOne --- src/models/RelationInfo.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/models/RelationInfo.ts b/src/models/RelationInfo.ts index 10b9824..fb74a3f 100644 --- a/src/models/RelationInfo.ts +++ b/src/models/RelationInfo.ts @@ -25,6 +25,6 @@ export class RelationInfo { return this.relationType == "OneToOne"; } get isManyToOne(): boolean { - return this.relationType == "OneToOne"; + return this.relationType == "ManyToOne"; } }