Closed brettrowberry closed 2 years ago
When I call migratus/create, it seems to only work from certain special directories.
migratus/create
These work:
(migratus/create {:migration-dir "sql"} "bob") (migratus/create {:migration-dir "migrations"} "bob") (migratus/create {:migration-dir "tmp"} "bob")
This doesn't:
(migratus/create {:migration-dir "rando"} "bob")
There isn't anything restricting directory names in the library. The code for resolving the directory is here and it doesn't do anything special.
I can't figure out what's going on here. But you're right.
When I call
migratus/create
, it seems to only work from certain special directories.These work:
This doesn't: