Why you NEED to be using Database Branching!
ฝัง
- เผยแพร่เมื่อ 17 ต.ค. 2024
- Database Branching allows you to spin up a copy of your database that is linked to a specific branch in Git. In this video, Jon and Alaister take us through the entire collaborative process of building a new feature in a Next.js app.
They cover running the Supabase stack locally, tracking schema changes in migrations, using the Supabase and Vercel Integrations to automatically deploy a preview environment linked to a GitHub Pull Request, and automatically deploying application and database changes to production when the PR is merged.
Full live stream: th-cam.com/users/li...
Database Branching in Supabase: supabase.com/d...
💻 Videos to watch next:
▶ The Right Way to do Auth with the Next.js App Router: • The Right Way to do Au...
▶ Make your queries 43,240x faster: • Make your queries 43,2...
▶ 10 new things you need to try: • 10 new things you need...
👇 Learn more about Supabase 👇
🕸 Website: supabase.com/
🏁 Get started: app.supabase.com/
📄 Docs: supabase.com/docs
🔔 Subscribe for more tutorials and feature updates from Supabase: / @supabase
📱 Connect with Us:
🐙 Github: www.github.com...
💬 Discord: discord.supaba...
🐦 Twitter: / supabase
▶ Instagram (follow for memes): / supabasecom
ABOUT SUPABASE:
Supabase is the open source Firebase alternative. Supabase provides a full Postgres database for every project with pgvector, backups, realtime, and more. Add and manage email and password, passwordless, OAuth, and mobile logins to your project through a suite of identity providers and APIs.
Build in a weekend, scale to millions.
#Supabase #AppDevelopment #RealtimeApps #DeveloperTools
"Branching is an early access only feature, which must not be used in a production setting."
Dumb question: so the seed file only runs if it’s not the main branch?
Im a abit simple so does this create multiple copies of your databasr and the data inside ?
does the supabase editor create migrations too? It would be cool if it would add the migrations to a project's repo as a commit.
You can use the CLI to diff you DB state against the DB state described in the migration and automatically create a new migration to match them.
@@funkdefied1 how?
@@1youngtai Make whatever changes you want in your local supabase instance in the browser UI then run 'npx supabase db pull' it will check for differences between what's in the database now and what's in your migrations. Then it will automatically create a "remote_schema" migration in your project codebase.
@rtorcato
> does the supabase editor create migrations too? It would be cool if it would add the migrations to a project's repo as a commit.
That's exactly how we thought it could work in the long term.
I hope branching will be prod-ready soon! Such a game-changer
Supabase is backed for startups.
Very nice
Amazing!
mark zuckerburg is on show with jhon, explaining the new features of meta