Why you NEED to be using Database Branching!

  Рет қаралды 4,447

Supabase

Supabase

Күн бұрын

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: kzbin.info...
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

Пікірлер: 17
@ADHDOCD
@ADHDOCD 7 күн бұрын
More step by step workflow videos like these for multi-tenant Authorization as well! This makes so much sense now in terms of creating a local vs prod project. Thanks!
@dombicile4539
@dombicile4539 Күн бұрын
You made a very dry subject *super* interesting. Thank you!
@nikhiljay
@nikhiljay 4 ай бұрын
"Branching is an early access only feature, which must not be used in a production setting."
@luisandrade1291
@luisandrade1291 4 ай бұрын
Dumb question: so the seed file only runs if it’s not the main branch?
@soilstress
@soilstress Ай бұрын
I feel like the cuts cause information to be conveyed incorrectly. 4:28 - CC:`Because RLS blocks everything by default. Secure. But just for the select action.`. Which I hope is not true. I think/hope the [But] sentence is in reference to your specific policy which was maybe just a bad cut in the video???
@champechilufya1458
@champechilufya1458 4 ай бұрын
Im a abit simple so does this create multiple copies of your databasr and the data inside ?
@francescoimpellizzeri1345
@francescoimpellizzeri1345 4 ай бұрын
I hope branching will be prod-ready soon! Such a game-changer
@rtorcato
@rtorcato 4 ай бұрын
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.
@funkdefied1
@funkdefied1 4 ай бұрын
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.
@1youngtai
@1youngtai 4 ай бұрын
@@funkdefied1 how?
@littlehobbyshop
@littlehobbyshop 4 ай бұрын
@@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.
@JonathanSummersMuir
@JonathanSummersMuir 4 ай бұрын
@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.
@akash-kumar737
@akash-kumar737 4 ай бұрын
Supabase is backed for startups.
@mikestaub
@mikestaub 3 ай бұрын
Very nice
4 ай бұрын
Amazing!
@innovatorshome
@innovatorshome 4 ай бұрын
mark zuckerburg is on show with jhon, explaining the new features of meta
Are Multi-Column Indexes a good idea?
11:22
Supabase
Рет қаралды 5 М.
8 things you should NEVER do in a Database!
22:56
Supabase
Рет қаралды 13 М.
My scorpion was taken away from me 😢
00:55
TyphoonFast 5
Рет қаралды 2,7 МЛН
We Don't Need Migrations Anymore
6:21
Theo - t3․gg
Рет қаралды 62 М.
The only Cloud services you actually need to know
17:17
NeetCodeIO
Рет қаралды 203 М.
I tried 5 Firebase alternatives
10:31
Fireship
Рет қаралды 815 М.
3 reasons you should use Postgres Functions and Transactions
16:58
Branching Strategies Explained
18:19
DevOps Toolkit
Рет қаралды 144 М.
Behind The Code: Nuxt.js mini-documentary
12:27
Supabase
Рет қаралды 4,2 М.
Simplify complex SQL queries with Views in Postgres
26:01
Supabase
Рет қаралды 10 М.
Gitlab DELETING Production Databases | Prime Reacts
17:27
ThePrimeTime
Рет қаралды 358 М.