From 35dae4e1f46add253cd8c2d5879a397bb3e632de Mon Sep 17 00:00:00 2001 From: Benjamin Eberlei Date: Tue, 15 Feb 2011 21:31:20 +0100 Subject: [PATCH] Add note about columnDefinition SchemaTool. --- en/reference/annotations-reference.rst | 7 +++++-- en/reference/introduction.rst | 11 +++++++---- 2 files changed, 12 insertions(+), 6 deletions(-) diff --git a/en/reference/annotations-reference.rst b/en/reference/annotations-reference.rst index b918e85d3..363058944 100644 --- a/en/reference/annotations-reference.rst +++ b/en/reference/annotations-reference.rst @@ -80,11 +80,14 @@ Optional attributes: name and specifies the complete (non-portable!) column definition. This attribute allows to make use of advanced RMDBS features. However you should make careful use of this feature and the - consequences. Additionally you should remember that the "type" + consequences. SchemaTool will not detect changes on the column correctly + anymore if you use "columnDefinition". + + Additionally you should remember that the "type" attribute still handles the conversion between PHP and Database values. If you use this attribute on a column that is used for joins between tables you should also take a look at - :ref:`@JoinColumn `. + :ref:`@JoinColumn `. Examples: diff --git a/en/reference/introduction.rst b/en/reference/introduction.rst index 69bfbd085..e832766c8 100644 --- a/en/reference/introduction.rst +++ b/en/reference/introduction.rst @@ -117,14 +117,17 @@ it with the following command. $ sudo pear install pear.doctrine-project.org/DoctrineORM- - **NOTE** The ```` tag above represents the version you - want to install. For example the current version at the time of - writing this is ``2.0.0BETA3`` for the ORM, so you could install it + +.. note:: + + The ```` tag above represents the version you + want to install. For example if the current version at the time of + writing this is ``2.0.7`` for the ORM, so you could install it like the following: .. code-block:: bash - $ sudo pear install pear.doctrine-project.org/DoctrineORM-2.0.0BETA3 + $ sudo pear install pear.doctrine-project.org/DoctrineORM-2.0.7 When you have a package installed via PEAR you can require and load