2
0
Files
bot/apps/docs/docs/self-hosting/planetscale.md
2023-03-20 07:38:47 +01:00

700 B

Using a Planetscale database

Typebot is also pluggable to a Planetscale database. But it means, you'll need to push schema changes manually, yourself.

To do so, follow these instructions:

  1. Copy packages/prisma/.env.example to packages/prisma/.env and replace DATABASE_URL with a development branch
  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. :::