doctrine migrations bundle code example
Example 1: doctrine migrations down
php doctrine.php migrations:execute YYYYMMDDHHMMSS --down
php doctrine.php migrations:execute YYYYMMDDHHMMSS --up
Example 2: migration create symfony
doctrine:migrations:generate [generate] Generate a blank migration class.