Ensure that only files are counted as migrations.

Also display a user facing error if no migrations could be found in the db/migrate
directory.