migrations not being found on windows

Issue #2 resolved
Max Polun
created an issue


Goose doesn't find migrations in windows because filepath.Walk will return paths with '\' instead of '/' and the path module only works on '/' based paths. The simple fix is using the filepath module which takes the OS path separator into account. Attached is a patch which makes this change for the migration finding code. You might also want to go through and make sure you're using filepath everywhere instead of path, but for this I just fixed the issue I had.

Comments (2)

  1. Log in to comment