Something went wrong. Try again.
An open-source, container-based Platform-as-a-Service (PAAS) for seamless deployments and effortless infrastructure management — built on f…
Something went wrong. Try again.
917 B · 37 lines
at devops
12345678910111213141516171819202122232425262728293031323334353637// This is your Prisma schema file,// learn more about it in the docs: https://pris.ly/d/prisma-schema
// Looking for ways to speed up your queries, or scale easily with your serverless or edge functions?// Try Prisma Accelerate: https://pris.ly/cli/accelerate-init
generator client { provider = "prisma-client-js"}
datasource db { provider = "postgresql" url = env("DATABASE_URL")}
model project { id String @id @default(cuid()) name String description String ?
service Int @default(0) // 0: web, 1: worker, 2: cron slug String @unique gitUrl String
gitBranch String ? @default("main") customDomain String ? cmd String ?
envSecrets Json ? envFile String ? buildCmd String ? runCmd String ?
status Int @default(0) // 0: pending, 1: running, 2: success, 3: failed createdAt DateTime @default(now()) updatedAt DateTime @updatedAt}