Spaces:
Sleeping
Sleeping
Download prisma/schema.prisma from veltrixcode/Iot: direct link, hf CLI and curl.
- Browser
- Download file 1.91 kB
-
https://huggingface.co/spaces/veltrixcode/Iot/resolve/main/prisma/schema.prisma
- Command line
-
hf download hf://spaces/veltrixcode/Iot/prisma/schema.prisma
-
curl -L -o schema.prisma https://huggingface.co/spaces/veltrixcode/Iot/resolve/main/prisma/schema.prisma
1.91 kB
| generator client { | |
| provider = "prisma-client-js" | |
| binaryTargets = ["native", "debian-openssl-1.1.x", "debian-openssl-3.0.x"] | |
| } | |
| datasource db { | |
| provider = "postgresql" | |
| url = env("DATABASE_URL") | |
| } | |
| model User { | |
| id String | |
| name String? | |
| username String? | |
| email String | |
| emailVerified DateTime? | |
| password String? | |
| image String? | |
| credits Int | |
| lastDailyCredit DateTime | |
| accounts Account[] | |
| sessions Session[] | |
| generations Generation[] | |
| createdAt DateTime | |
| updatedAt DateTime | |
| } | |
| model Account { | |
| id String | |
| userId String | |
| type String | |
| provider String | |
| providerAccountId String | |
| refresh_token String? .Text | |
| access_token String? .Text | |
| expires_at Int? | |
| token_type String? | |
| scope String? | |
| id_token String? .Text | |
| session_state String? | |
| user User | |
| @ | |
| } | |
| model Session { | |
| id String | |
| sessionToken String | |
| userId String | |
| expires DateTime | |
| user User | |
| } | |
| model VerificationToken { | |
| identifier String | |
| token String | |
| expires DateTime | |
| @ | |
| } | |
| model Generation { | |
| id String | |
| prompt String | |
| model String | |
| imageUrl String | |
| width Int | |
| height Int | |
| userId String | |
| user User | |
| isPublic Boolean | |
| createdAt DateTime | |
| } | |