-
-
Notifications
You must be signed in to change notification settings - Fork 176
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Supabase db remote commit failing #121
Comments
Could be the same issue as #116 - I've updated the CLI to validate the URL passed to |
I have the same problem using
I have no experience with Go, so I don't know if this information is helpful. |
I am also getting this, on a relatively simple db that I just set up. I don't believe there's anything in the password that requires url escaping. Any word on this issue? |
I haven't been able to replicate this, but I think it might be what Damian linked above (some logging in the schema diff). I'm currently working on other open issues, but will loop back once I have any updates. |
I just tried the latest cli version I created a dump of the old database structure and applied it to the new supabase project via a migration. On the old, "broken" project there were some tables that had "supabase-admin" as an owner. I had to change this to "postgres". Not sure this is related to this issue, though. |
Closing this for staleness - there's been a lot of change since this issue was raised, so if anyone's still bumping into this, please create a new issue. |
Bug report
Describe the bug
When running supabase db remote commit the following error occur:
Error: unexpected end of JSON input
To Reproduce
supabase init
supabase db remote set [your-db-url]
supabase db remote commit
Expected behavior
Should work as excepted and as said in the documentation: https://github.com/supabase/cli/tree/main/examples/tour
Screenshots
If applicable, add screenshots to help explain your problem.
System information
The text was updated successfully, but these errors were encountered: