Day 2 - Supabase Local Dev: migrations, branching, and observability: supabase.com/b...
Database Branching allows an ephemeral database to be created for every Git branch. This means entirely separate databases for Local Development, Preview, and Production.
In this video, Jon Meyers shows off some new Supabase CLI commands that make database migrations simple - inspecting the difference between two databases and generating the SQL required to migrate. Additionally, he explains the theory behind the new Database Branching feature, which automates the cloning of databases for new features and demonstrates how changes can be merged into production.
00:00 Introduction
00:16 Overview of Production Supabase project
00:30 Create Local Supabase project
01:39 Clone structure of Production to Local database
02:54 Clone seed data from Production to Local database
03:47 Database Branching
05:28 What are you going to build?
14 авг 2024