Running Next.js
npm run dev
Starting the PlanetScale Database server Also run in separate window
pscale connect gpt-generated-snippets main --port 3309
- Change to a new branch
pscale branch create gpt-generated-snippets <branch name>
-
Make local changes to ./prisma/schema.prisma
-
Push changes
npx prisma db push
- Request deploy (merge changes)
pscale deploy-request create gpt-generated-snippets initial-setup
- Delete dev branch once merged
pscale branch delete gpt-generated-snippets initial-setup
Note you must open the Dashboard via the URL provided to queue changes