Add existence check for db:migrate task