diff --git a/docs/extending-the-model-blog-comments.rst b/docs/extending-the-model-blog-comments.rst index 8ae49ee..64f2117 100644 --- a/docs/extending-the-model-blog-comments.rst +++ b/docs/extending-the-model-blog-comments.rst @@ -484,6 +484,8 @@ Finally we need to update the database to reflect the changes to our entities. W could use the ``doctrine:schema:update`` task as follows to do this, but instead we will introduce Doctrine 2 Migrations. +NOTE: Do not run this command now, or next step will not have any migrations to do: + .. code-block:: bash $ php app/console doctrine:schema:update --force @@ -522,7 +524,7 @@ Now let's register the bundle in the kernel located at ``app/AppKernel.php``. { $bundles = array( // ... - new Symfony\Bundle\DoctrineMigrationsBundle\DoctrineMigrationsBundle(), + new Doctrine\Bundle\MigrationsBundle\DoctrineMigrationsBundle(), // ... ); // ...