© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
SupabaseS
Supabase•2mo ago•
4 replies
diotacyde 🌒

How do your database migration/structure workflows look like?

🔢DB Connections🤷otherCLI
Working with a friend, I'm Fullstack and know a fair bit of PSQL - he is mostly Frontend but also has worked with Firebase and hence document databases before.

We are not yet public with our product, so for now it's only a
Staging
Staging
app in
hosted Supabase
hosted Supabase
, and locally running on
Docker
Docker
. So far we're using manual migrations (a new
/migrations/*
/migrations/*
file for every database change), and using
supabase db reset
supabase db reset
on both our local machines and staging whenever we change a lot of stuff - and we are not using the
Supabase DB UI
Supabase DB UI
for the most part.

I understand that this question is somehow abstract, but I can't decide on what's the best way (probably subjective on how each of us likes to do things and team composition), but I'd love to hear opinions on how all of you manage your individual workflows regarding the database.

I went through the documentation and I feel like declarative schemas would be the way to go - what do you think? Does it work properly, are there any caveats and issues that might pop up from using those? All input appreciated - thanks 🙂

TLDR: What do you think is the best way to manage the database? Declarative schemas or individual migration files? And which commands from Supabase CLI do you use? Do you use the Supabase UI for changing database?
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

General Database Structure Question
SupabaseSSupabase / help-and-questions
3y ago
project look like paused
SupabaseSSupabase / help-and-questions
5mo ago
How to set-up a database migration workflow ?
SupabaseSSupabase / help-and-questions
4y ago
what should my policy look like?
SupabaseSSupabase / help-and-questions
3y ago