Skip to content

The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.

Branching remove incorrect modal warning (#19496)

Joshen Lim40ca7e09bda4
diff --git a/apps/studio/components/layouts/AppLayout/EnableBranchingButton/EnableBranchingModal.tsx b/apps/studio/components/layouts/AppLayout/EnableBranchingButton/EnableBranchingModal.tsx
index 4298b2bbd82..babbdbc6cd4 100644
--- a/apps/studio/components/layouts/AppLayout/EnableBranchingButton/EnableBranchingModal.tsx
+++ b/apps/studio/components/layouts/AppLayout/EnableBranchingButton/EnableBranchingModal.tsx
@@ -207,11 +207,13 @@ const EnableBranchingModal = () => {
</div>
<div className="flex flex-col gap-y-1">
<p className="text-sm text-foreground">
- You will not be able to make changes to the database via the dashboard
+ Branching uses your GitHub repository to apply migrations
</p>
<p className="text-sm text-foreground-light">
- Schema changes for database Preview Branches must be made using Git.
- Dashboard changes to Preview Branches are coming soon.
+ Database migrations are handled via the{' '}
+ <code className="text-xs">./supabase</code> directory in your GitHub repo.
+ Migration files will run on both Preview Branches and Production when
+ pushing to and merging git branches.
</p>
</div>
</div>