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

ความคิดเห็น • 13

  • @nikhiljay
    @nikhiljay 2 หลายเดือนก่อน +14

    "Branching is an early access only feature, which must not be used in a production setting."

  • @luisandrade1291
    @luisandrade1291 2 หลายเดือนก่อน +2

    Dumb question: so the seed file only runs if it’s not the main branch?

  • @champechilufya1458
    @champechilufya1458 2 หลายเดือนก่อน +1

    Im a abit simple so does this create multiple copies of your databasr and the data inside ?

  • @rtorcato
    @rtorcato 2 หลายเดือนก่อน +1

    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 2 หลายเดือนก่อน +3

      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 2 หลายเดือนก่อน

      @@funkdefied1 how?

    • @littlehobbyshop
      @littlehobbyshop 2 หลายเดือนก่อน +2

      @@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 2 หลายเดือนก่อน

      @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.

  • @francescoimpellizzeri1345
    @francescoimpellizzeri1345 2 หลายเดือนก่อน

    I hope branching will be prod-ready soon! Such a game-changer

  • @akash-kumar737
    @akash-kumar737 2 หลายเดือนก่อน +2

    Supabase is backed for startups.

  • @mikestaub
    @mikestaub หลายเดือนก่อน

    Very nice

  •  2 หลายเดือนก่อน

    Amazing!

  • @innovatorshome
    @innovatorshome หลายเดือนก่อน

    mark zuckerburg is on show with jhon, explaining the new features of meta