2
0

📝 Add a planetscale guide

Closes #287
This commit is contained in:
Baptiste Arnaud
2023-02-13 10:25:43 +01:00
parent c0757f8187
commit 46e9271aaa

View File

@ -0,0 +1,9 @@
# 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/db/.env.example` to `packages/db/.env` and replace `DATABASE_URL` with a development branch
2. From the `packages/db` 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.