You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
Trying to reset the local db with npx supabase db reset fails with error -
ERROR: duplicate key value violates unique constraint "schema_migrations_pkey" (SQLSTATE 23505)
At statement 19: INSERT INTO supabase_migrations.schema_migrations(version, name, statements) VALUES($1, $2, $3)
To Reproduce
Steps to reproduce the behavior:
Open terminal on selected project.
Run command npx supabase db reset
Reset is successful but when after setting up initial schema, error message is seen.
Expected behavior
This should not happen ( I believe ). When we are resetting the database locally, I think the migrations should either be applied or removed.
Screenshots
System information
Rerun the failing command with --create-ticket flag.
Ticket ID: d5ab641e1e1941469be3d99f64d635cb
Version of OS: Windows 11, running on WSL
Version of CLI: 1.72.2
Version of Docker: Docker version 26.1.2, build 211e74b
Versions of services:
Additional context
Node version -
The text was updated successfully, but these errors were encountered:
Describe the bug
Trying to reset the local db with
npx supabase db reset
fails with error -To Reproduce
Steps to reproduce the behavior:
npx supabase db reset
Expected behavior
This should not happen ( I believe ). When we are resetting the database locally, I think the migrations should either be applied or removed.
Screenshots
System information
Rerun the failing command with
--create-ticket
flag.Additional context
Node version -
The text was updated successfully, but these errors were encountered: