Fixed a problem with a trailing newline in a migration file, tweaked console output