jdavisclark / mite

schema migrations so easy you already know how to write them. guaranteed.
http://jdc0589.github.io/mite
11 stars 6 forks source link

Error when running 'mite create' when "migrations" directory does not exist #16

Closed zmckinnon closed 10 years ago

zmckinnon commented 10 years ago

If you run:

mite create

when the "migrations" directory does not exist, you get the following error:

Error: ENOENT, no such file or directory '/Users/zmckinnon/working/wb-user/samples/router/migrations/2014-02-21T20-10-28Z.sql'
jdavisclark commented 10 years ago

marking as a bug. It should probably give an error message telling to you manually create the directory, or just run mite init again

jdavisclark commented 10 years ago

fixed in 0e94af3887c142ea863cec3fb99cf29a80c08037