1
0
mirror of synced 2024-12-14 07:06:04 +03:00

Add note about columnDefinition SchemaTool.

This commit is contained in:
Benjamin Eberlei 2011-02-15 21:31:20 +01:00
parent 24defe7100
commit 35dae4e1f4
2 changed files with 12 additions and 6 deletions

View File

@ -80,7 +80,10 @@ 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

View File

@ -117,14 +117,17 @@ it with the following command.
$ sudo pear install pear.doctrine-project.org/DoctrineORM-<version>
**NOTE** The ``<version>`` 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 ``<version>`` 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