forked from noxious/server
DB relation fix
This commit is contained in:
@ -98,7 +98,7 @@ model ZoneObject {
|
||||
zoneId Int
|
||||
zone Zone @relation(fields: [zoneId], references: [id], onDelete: Cascade)
|
||||
objectId String
|
||||
object Object @relation(fields: [objectId], references: [id])
|
||||
object Object @relation(fields: [objectId], references: [id], onDelete: Cascade)
|
||||
depth Int
|
||||
position_x Int
|
||||
position_y Int
|
||||
|
Reference in New Issue
Block a user