-
Notifications
You must be signed in to change notification settings - Fork 278
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
panic: runtime error: index out of range [0] with length 0 #3363
Comments
Hey @intel352 👋 Did you set the
|
I did actually. |
Can you share your atlas.hcl file? |
At the time, it looked like this:
|
Config looks OK, can you please provide a simple directory example that reproduces this issue? |
I wasn't able to reproduce this. Feel free to reopen if you have any example that reproduces this. Thanks |
I'm moving from golang-migrate to Atlas. I missed that Atlas doesn't also use
.down
files, so working with an existing migrations directory resulted in the .down being processed first, and then a runtime panic.Knowing about this, hopefully you can detect/mitigate the error so that it can at least be helpful regarding the cause.
Contents of the
atlas_schema_revisions
table:Cmd panic
The text was updated successfully, but these errors were encountered: