made typescript my bitch

This commit is contained in:
2024-05-24 19:37:15 +02:00
parent 552d9bb4db
commit cfc0f03932
9 changed files with 79 additions and 26 deletions

View File

@ -28,12 +28,12 @@ model User {
model Character {
id Int @id @default(autoincrement())
userId Int
user User @relation(fields: [userId], references: [id])
name String
position_x Int
position_y Int
rotation Int
userId Int
user User @relation(fields: [userId], references: [id])
zoneId Int
zone Zone @relation(fields: [zoneId], references: [id])
}