- migrated old page to new partials
- fixed setDemoData endpoint
This commit is contained in:
@ -34,8 +34,8 @@ model Item {
|
||||
manufacturer String
|
||||
category Category
|
||||
status Status
|
||||
StorageLocation StorageLocation @relation(fields: [storageLocationId], references: [id])
|
||||
storageLocationId Int
|
||||
StorageLocation StorageLocation? @relation(fields: [storageLocationId], references: [id])
|
||||
storageLocationId Int?
|
||||
createdAt DateTime @default(now())
|
||||
updatedAt DateTime @updatedAt
|
||||
}
|
||||
@ -43,8 +43,8 @@ model Item {
|
||||
model StorageLocation {
|
||||
id Int @id @default(autoincrement())
|
||||
name String
|
||||
storageBuilding StorageBuilding @relation(fields: [storageBuildingId], references: [id])
|
||||
storageBuildingId Int
|
||||
storageBuilding StorageBuilding? @relation(fields: [storageBuildingId], references: [id])
|
||||
storageBuildingId Int?
|
||||
Item Item[]
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user