Spaces:
Running
Running
| generator client { | |
| provider = "prisma-client-py" | |
| interface = "asyncio" | |
| recursive_type_depth = 5 | |
| } | |
| datasource db { | |
| provider = "sqlite" | |
| url = "file:./dev.db" | |
| } | |
| model Shop { | |
| id String | |
| name String | |
| url String | |
| optOut Boolean | |
| createdAt DateTime | |
| updatedAt DateTime | |
| products Product[] | |
| } | |
| model Product { | |
| id String | |
| shopId String | |
| title String | |
| price Int | |
| thumbnailUrl String | |
| createdAt DateTime | |
| updatedAt DateTime | |
| shop Shop | |
| images Image[] | |
| } | |
| model Image { | |
| id String | |
| productId String | |
| imageUrl String | |
| vectorId String? // ID in Qdrant | |
| createdAt DateTime | |
| product Product | |
| } | |
| model User { | |
| id String | |
| email String | |
| stripeId String? | |
| searchCount Int | |
| plan String | |
| createdAt DateTime | |
| updatedAt DateTime | |
| } | |