mattes / migrate

Database migrations. CLI and Golang library.
Other
2.29k stars 326 forks source link

Extension is required to work? #265

Closed jedborovik closed 7 years ago

jedborovik commented 7 years ago

I tried running up after creating 1500750789_create_users.up I got error: first /Users/jed/whatever/migrations: file does not exist. It was only after running the create command with -ext sql that up worked.

Maybe documenting this will help save people like me? My reading of the README was the ext was optional.

nicolas33 commented 7 years ago

Any extension is required as described in https://github.com/mattes/migrate/blob/master/MIGRATIONS.md

However, I agree the FAQ is misleading.