Skip to content

added consistency to the documentation with --show-version showing the r... #17

Merged
merged 1 commit into from Dec 18, 2013
View
4 Resources/doc/index.rst
@@ -134,7 +134,7 @@ migration to execute:
.. code-block:: bash
- php app/console doctrine:migrations:status
+ php app/console doctrine:migrations:status --show-versions
== Configuration
@@ -158,7 +158,7 @@ finally migrate when you're ready:
.. code-block:: bash
- php app/console doctrine:migrations:migrate
+ php app/console doctrine:migrations:migrate 20100621140655
@odino
Doctrine member
odino added a note Dec 18, 2013

the problem here is that people would get a hint of executing each migration one by one, whereas the recommended way is (my guess) to just run doctrine:migrations:migrate

What do you think?

@cordoval
cordoval added a note Dec 18, 2013

oh i see they made you maintainer of the bundle, never knew.

No, I disagree. The thing here is preparing ground work for what is below the up and downs. I think most people will know about migrate but not the other so it actually encourage good practice. To be careful.

@odino
Doctrine member
odino added a note Dec 18, 2013

I see doctrine:migrations:migrate is also mentioned elsewhere, so I guess this can be merged

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
For more information on how to write the migrations themselves (i.e. how to
fill in the ``up()`` and ``down()`` methods), see the official Doctrine Migrations
Something went wrong with that request. Please try again.