2
0
Files
bot/apps/docs/self-hosting/guides/planetscale.mdx
2023-12-22 09:13:53 +01:00

17 lines
661 B
Plaintext

---
title: Using a PlanetScale database
---
Typebot is also pluggable to a PlanetScale database. But it means, you'll need to push schema changes manually.
To do so, follow these instructions:
1. Replace `DATABASE_URL` with a PlanetScale development branch URL.
2. From the `packages/prisma` directory, run a the db push command: `pnpm run db:push`
3. Then, in PlanetScale dashboard, or using their CLI, you can create a new deploy request from this development branch to your production branch.
<Note>
You can't connect to PlanetScale database if you are deploying with Docker as
docker images are currently built only with postgresql support.
</Note>