@vibeorm/dsl 0.2.1 → 0.2.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/src/generator/prisma.ts +2 -2
package/package.json
CHANGED
package/src/generator/prisma.ts
CHANGED
|
@@ -502,11 +502,11 @@ function findMissingReverseRelations(params: {
|
|
|
502
502
|
}
|
|
503
503
|
|
|
504
504
|
if (!existingManyRelations.has(reverseKey)) {
|
|
505
|
-
let baseName = sourceModelName
|
|
505
|
+
let baseName = sourceModelName;
|
|
506
506
|
let fieldName = baseName;
|
|
507
507
|
|
|
508
508
|
if (rel.__alias) {
|
|
509
|
-
fieldName = rel.__alias
|
|
509
|
+
fieldName = rel.__alias;
|
|
510
510
|
baseName = fieldName;
|
|
511
511
|
}
|
|
512
512
|
|