- added csv import

- added somewhat real stats to dashboard
- basic search logic
This commit is contained in:
grey committed 2023-05-02 18:23:47 +02:00
1 parent e869615ec7
commit d1d717a988
13 files changed
+270 -29

No files matched your search

+3 -2
View File
@@ -19,7 +19,7 @@ enum Status {
model Item {
id Int @id @default(autoincrement())
SKU String @unique
SKU String? @unique
Amount Int
Comment String?
name String
@@ -31,6 +31,7 @@ model Item {
storageLocationId Int?
createdAt DateTime @default(now())
updatedAt DateTime @updatedAt
importedBy String?
}
model StorageLocation {
@@ -54,7 +55,7 @@ model StorageBuilding {
model Category {
id Int @id @default(autoincrement())
name String
name String @unique
description String?
Item Item[]
}