Discussion about this post

User's avatar
Amy Mitchell's avatar

Amazing article on branching with AI tools! This overcomes one of the biggest issues in using AI coding - Git versioning isn’t enough. You need this article to fully sever the dependencies beyond the code in Git. Thank you!

Expand full comment
Far2edd's avatar

Hi @Paweł, thanks for the very insightful article, I had a couple of quick questions:

1. About Migration File Naming and Archiving (Section 2)

I noticed all my migration files already follow the timestamped naming format (e.g. 20250714123000_add_users.sql), and Supabase processes them correctly.

• Why did you specifically call out the naming convention — is there a scenario where this breaks?

• Also, could you clarify why you mention renaming or moving old migrations to an archive folder?

Wouldn’t we want to keep all migration history intact when working across environments or duplicating the DB?

2. About Supabase Project References (Section 1.7)

• Is the issue in 1.7 mainly about turning the Supabase project ID or URL into a configurable variable?

• If yes, what exactly is the “in-scope variable” that gets reused across environments like production or test?

• If not, how does your frontend or edge functions know which Supabase project to connect to when switching branches?

Thanks

far2ed

Expand full comment
4 more comments...

No posts