miguelgrinberg/Flask-Migrate — pull request #12 by davidism (2013-12-11 23:14:49+00:00)
Title: Set default migrations dir in app config

Currently, if I want a custom migrations directory, I must pass the `-d` option after every command. Let's take advantage of the Flask app and use it's config to set the directory.

If no directory is passed on the command line, look at a value in the config, which defaults to the old default, `'migrations'`. An alternate directory can still be specified with `-d`.