© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
SupabaseS
Supabase•2mo ago•
3 replies
DesignMonkeySam

Issue with pushing to production from a lovable project due to migration file name inconsistencies.

🤖AI Tools🤷other
Hello, We're looking to migrate a project from lovable to a production environment but have some issues with some old Supabase migrations that lovable.dev has created in the incorrect naming convention.

There are a number of migrations which have a - instead of _ so get skipping during the Github action migration. Then subsequent correctly named migrations fail as tables dont exist.

Example incorrect: 20250610151444-cc6b0ded-dca4-406f-8861-ce919e4a92a9.sql
Correct should be: 20250610151444_cc6b0ded-dca4-406f-8861-ce919e4a92a9.sql

format: YYYYMMDDHHmmss_name.sql

We have tried to squash the migrations locally but as they are also incorrect it fails.

Please can someone advise the best approach to proceed?

Thanks!

Sam
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

Moving from lovable to vercel
SupabaseSSupabase / help-and-questions
3mo ago
Issue with Merging branches due to migration history purge in beginning
SupabaseSSupabase / help-and-questions
6mo ago
Migrate from lovable cloud to Superbase
SupabaseSSupabase / help-and-questions
3mo ago
Lovable/Supabase integration (Oauth issue)
SupabaseSSupabase / help-and-questions
4mo ago