Download prisma/schema.prisma from NeoPy/hugging-c-ai: direct link, hf CLI and curl.
- Browser
- Download file 3.5 kB
-
https://huggingface.co/NeoPy/hugging-c-ai/resolve/main/prisma/schema.prisma
- Command line
-
hf download hf://NeoPy/hugging-c-ai/prisma/schema.prisma
-
curl -L -o schema.prisma https://huggingface.co/NeoPy/hugging-c-ai/resolve/main/prisma/schema.prisma
3.5 kB
| datasource db { | |
| provider = "sqlite" | |
| } | |
| generator client { | |
| provider = "prisma-client-js" | |
| } | |
| model Account { | |
| id String | |
| userId String | |
| type String | |
| provider String | |
| providerAccountId String | |
| refresh_token String? | |
| access_token String? | |
| expires_at Int? | |
| token_type String? | |
| scope String? | |
| id_token String? | |
| session_state String? | |
| user User | |
| @ | |
| } | |
| model Session { | |
| id String | |
| sessionToken String | |
| userId String | |
| expires DateTime | |
| user User | |
| } | |
| model User { | |
| id String | |
| name String? | |
| email String? | |
| emailVerified DateTime? | |
| image String? | |
| credits Int | |
| customApiKey String? | |
| hfUsername String? | |
| createdAt DateTime | |
| accounts Account[] | |
| sessions Session[] | |
| chats Chat[] | |
| images UserImage[] | |
| creations Creation[] | |
| } | |
| model UserImage { | |
| id String | |
| userId String | |
| url String | |
| hfRepo String? | |
| hfPath String? | |
| createdAt DateTime | |
| user User | |
| @ | |
| } | |
| model Character { | |
| id String | |
| name String | |
| avatar String | |
| profileUrl String? | |
| description String | |
| personality String | |
| systemPrompt String | |
| greeting String | |
| isCustom Boolean | |
| isPublic Boolean | |
| userId String? | |
| createdAt DateTime | |
| chats Chat[] | |
| @ | |
| @ | |
| } | |
| model Chat { | |
| id String | |
| characterId String | |
| userId String | |
| createdAt DateTime | |
| character Character | |
| user User | |
| messages Message[] | |
| @ | |
| @ | |
| } | |
| model Message { | |
| id String | |
| chatId String | |
| role String | |
| content String | |
| imageUrl String? | |
| model String? | |
| promptTokens Int? | |
| completionTokens Int? | |
| createdAt DateTime | |
| chat Chat | |
| @ | |
| } | |
| model Creation { | |
| id String | |
| prompt String? | |
| imageUrl String? | |
| aspectRatio String? | |
| resolution String? | |
| createdAt DateTime | |
| userId String | |
| requestId String? | |
| status String | |
| error String? | |
| duration String? | |
| inputImages String? | |
| mode String? | |
| modelId String? | |
| title String? | |
| type String? | |
| url String? | |
| user User | |
| } | |
| model VerificationToken { | |
| identifier String | |
| token String | |
| expires DateTime | |
| @ | |
| } | |