schema-tool
schema-tool copied to clipboard
improved error messages - missing psql/mysql binaries
See issue #36 for context.
Rather than throwing an exception all the way up the stack we should
- Catch the issue earlier and provide a better output message (possibly depending on the
-voption how much of it we show vs a normal failure) - Provide a specific error message / check when the binary cannot be found (either
psqlormysql)
It might also make sense to provide a configuration option that allows you to provide a path to the specific pgsql or mysql binary that you would like to use, with the default value (if no config value provided) being whatever the script can locate on the current path.