Download schema.prisma from designfailure/specforge-wasp: direct link, hf CLI and curl.
- Browser
- Download file 979 Bytes
-
https://huggingface.co/datasets/designfailure/specforge-wasp/resolve/main/schema.prisma
- Command line
-
hf download hf://datasets/designfailure/specforge-wasp/schema.prisma
-
curl -L -o schema.prisma https://huggingface.co/datasets/designfailure/specforge-wasp/resolve/main/schema.prisma
979 Bytes
| datasource db { | |
| provider = "sqlite" | |
| // Wasp requires that the url is set to the DATABASE_URL environment variable. | |
| // For production deployment switch provider to "postgresql" (SQLite is unsupported in prod). | |
| url = env("DATABASE_URL") | |
| } | |
| // Wasp requires the `prisma-client-js` generator to be present. | |
| generator client { | |
| provider = "prisma-client-js" | |
| } | |
| model User { | |
| id Int | |
| specs Spec[] | |
| } | |
| model Spec { | |
| id Int | |
| title String | |
| createdAt DateTime | |
| updatedAt DateTime | |
| sections Section[] | |
| user User | |
| userId Int | |
| } | |
| model Section { | |
| id Int | |
| key String | |
| title String | |
| hint String | |
| content String | |
| order Int | |
| spec Spec | |
| specId Int | |
| @ | |
| } |