© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
SupabaseS
Supabase•4w ago•
3 replies
MyLizard

Postgres Pull Request Review

🟢SQL
What is the easiest way to review pull requests for Postgres database changes?

I'm reviewing my first pull request from the first additional developer (besides me) and haven't found a clean way to do it. Because each change is a "migration" script, a change to a function just shows the new code rather than the changes.

Is there a simple, clean way to see what the definition for a database object was before, what it is now, and what the changes were?

When I used to work with SQL Server, they had a tool in Visual Studio called Schema Compare that allowed you to compare database definitions in code. I'm assuming that something like that exists for Postgres (and if I should use that I'd love to know), but that would mean not using the native Supabase version control functionality, at least for the DDL.
Supabase banner
SupabaseJoin
Supabase gives you the tools, documentation, and community that makes managing databases, authentication, and backend infrastructure a lot less overwhelming.
45,816Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

Tests failing on github after submitting a pull request
SupabaseSSupabase / help-and-questions
4y ago
Project Structure Review Request - New to Database and Auth
SupabaseSSupabase / help-and-questions
7mo ago
supabase db pull
SupabaseSSupabase / help-and-questions
13mo ago
supabase db pull
SupabaseSSupabase / help-and-questions
3y ago