Β© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
SupabaseS
Supabaseβ€’11mo agoβ€’
6 replies
masscreations_sam

Local Development Issues

Seem to be running into intermittent issues with
npx supabase start
npx supabase start
and
npx supabase db reset
npx supabase db reset
. Currently im getting the error

ERROR: duplicate key value violates unique constraint "schema_migrations_pkey" (SQLSTATE 23505)
At statement 148:
INSERT INTO supabase_migrations.schema_migrations(version, name, statements) VALUES($1, $2, $3)

It appears the schema_migrations table gets out of sync or has broken data. the query makes sense as my last run migration is in the table. Currently spending way to long on setting this up rather than coding. My current coultions are to either rename the file or change the
project_id
project_id
in the
config.toml
config.toml
.

Getting to a point now where i would like ot get on top of this issue now, maybe its the way i am working.
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

Local Development Upgrade
SupabaseSSupabase / help-and-questions
4y ago
Local Development + Magic Link
SupabaseSSupabase / help-and-questions
2mo ago
Inbucket - Mailpit - Local development
SupabaseSSupabase / help-and-questions
7mo ago
`MalformedJWT` error in local development
SupabaseSSupabase / help-and-questions
4mo ago