doctrine/doctrine2-orm-tutorial — pull request #5 by ayaya1024 (2014-03-20 02:40:46+00:00)
Title: Exit if product id is invalid

If the reader uses these command:
$ php vendor/bin/doctrine orm:schema-tool:drop --force
$ php vendor/bin/doctrine orm:schema-tool:create
for recreating database, create_bug.php will fail because all products are cleared.