doctrine migrate to specific version code example
Example: doctrine migrations down
php doctrine.php migrations:execute YYYYMMDDHHMMSS --down
php doctrine.php migrations:execute YYYYMMDDHHMMSS --up
php doctrine.php migrations:execute YYYYMMDDHHMMSS --down
php doctrine.php migrations:execute YYYYMMDDHHMMSS --up