Skip to content

Commit 0e784c4

Browse files
authored
Merge pull request #22 from Bostads-AB-Mimer/feature/mim-547-skapa-arende-pa-bilplats-i-odoo
MIM-547: Create maintenance request on parking space bugfix - some parking spaces were not returned
2 parents 6f2771a + aa4274e commit 0e784c4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

services/property/prisma/schema/PropertyStructure_babuf.prisma

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ model PropertyStructure {
6464
toDate DateTime @map("tdate") @db.DateTime
6565
timestamp String @map("timestamp") @db.Char(10)
6666
67-
parkingSpace ParkingSpace? @relation(fields: [parkingSpaceId], references: [id], onDelete: NoAction, onUpdate: NoAction)
67+
parkingSpace ParkingSpace? @relation(fields: [propertyObjectId], references: [propertyObjectId], onDelete: NoAction, onUpdate: NoAction, map: "fkbabufobjbps")
6868
propertyObject PropertyObject @relation(fields: [propertyObjectId], references: [id], onDelete: NoAction, onUpdate: NoAction, map: "fkbabufkeycmobj")
6969
maintenanceUnit MaintenanceUnit? @relation(fields: [propertyObjectId], references: [propertyObjectId], onDelete: NoAction, onUpdate: NoAction)
7070

0 commit comments

Comments
 (0)