- changed status to resolved
migrations not being found on windows
Issue #2
resolved
Hi,
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)
-
repo owner -
repo owner Thanks for the report!
- Log in to comment
use filepath rather than path to ensure we're dealing with filenames in an OS compatible way. fixes
#2.→ <<cset 3c6b6c35c4bc>>