Skip to content
This repository was archived by the owner on Jul 28, 2022. It is now read-only.
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion docs/extending-the-model-blog-comments.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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(),
// ...
);
// ...
Expand Down