Skip to content

An open-source, self-hostable PaaS alternative to Vercel, Heroku & Netlify that lets you easily deploy static sites, databases, full-stack applications and 360+ one-click services on your own servers.

fix: Update stucked builds on startup

Andras Bacsaib1c25e98d70a
diff --git a/prisma/seed.cjs b/prisma/seed.cjs
index 61f3928f6f..cc5225fa47 100644
--- a/prisma/seed.cjs
+++ b/prisma/seed.cjs
@@ -50,6 +50,11 @@ async function main() {
}
});
}
+ // Update stucked builds
+ await prisma.build.updateMany({
+ where: { status: 'running' },
+ data: { status: 'success' }
+ });
}
main()
.catch((e) => {