A Postgres database for Every Vercel Preview Deployment
ฝัง
- เผยแพร่เมื่อ 2 ก.ค. 2024
- Learn how to create a Postgres database for every preview deployment using the Neon integration on Vercel
If you have an existing CI pipeline, check out this blog post, which covers achieving the same result using GitHub Actions and the Vercel CLI: neon.tech/blog/branching-with....
Instructor: / thisismahmoud_ | / mahmoud-codes
→ Try Neon at neon.tech/youtube
→ Neon Discord: neon.tech/discord
→ Follow us on Twitter: / neondatabase
→ Star us on GitHub github.com/neondatabase/neon
00:00 - Intro
1:14 - Postgres branching on Neon
2:05 - Setting up the integration
4:44 - Overview of the workflow
9:54 - Outro - บันเทิง
If you'd like to create a Postgres database for every Preview deployment using Platforms other than Vercel, check out the following guides:
- Automation using GitHub Actions: neon.tech/docs/guides/branching-github-actions
- Neon CLI: neon.tech/docs/reference/neon-cli
- Automated database branches using GitHub Actions and the Vercel CLI: neon.tech/blog/branching-with-preview-environmentsneon.tech/blog/branching-with-preview-environments
Great walkthrough, thanks Mahmoud.
This is so great
Is necessary change build command 8:45 in vercel when usign drizzle orm o the default build is ok?
Can you guys make a video on migrations I came from planet scale and they had they best migration experience with branches, why isnt neon doing that
Hey! Do you mind sharing more details about your setup? Which programming language and ORM are you using?
@@neondatabase using drizzle with nextjs
th-cam.com/video/hIYNOiZXQ7Y/w-d-xo.htmlfeature=shared check out our drizzle video and our documentation neon.tech/docs/guides/drizzle-migrations We go over running migrations
Don't hesitate to reach out in the Neon Discord community if you need any help :)
neon.tech/discord
Neon's free tier is too miser as compared with turso's