-
Notifications
You must be signed in to change notification settings - Fork 216
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
Release 1.202.4 and later break seed on reset - Windows #2734
Comments
This is due to a bug in path separator handling. Could you try the beta release?
|
@sweatybridge That's fixed it. Thanks.
|
Still seeing this issue on db pull and push: npx supabase db pull --local
No seed files matched pattern: supabase/seed.sql
No seed files matched pattern: supabase/seed.sql Not sure why as I don't believe the seed is used in these commands. |
Hi @DuncanLHS, this is due to a recent change we made that validates config.toml more rigorously. You can avoid this log message by updating config.toml to disable seed config.
|
@sweatybridge To clarify, my seed file does exist at that location but I still get the warning message that it doesn't exist. This was fixed on db reset but doesn't appear to have been a universal fix. The new config settings are not set in my config as they're quite recent. In that case I would expect the default behaviour be that the seed is not performed after a migration as this is the precedent behaviour, in which case there would be no need to check for the seed file. |
We parse and validate all config at the start of the command, even if some parts of it are not used.
This is weird because reset shouldn't fix anything as the error is from config validation. Which directory are you running supabase commands from? |
@sweatybridge See the original bug at the top here. |
Describe the bug
Since Release 1.202.4, db reset no longer recognises my seed.sql file even though it exists in the expected location, supabase/seed.sql
To Reproduce
Steps to reproduce the behavior:
Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
System information
The text was updated successfully, but these errors were encountered: