1
0
Fork 0
mirror of synced 2025-04-03 05:13:37 +03:00

Add section about columnDefinition into basic mapping.

This commit is contained in:
Benjamin Eberlei 2011-02-15 21:33:24 +01:00
parent 35dae4e1f4
commit 755f0b3dbb

View file

@ -317,6 +317,17 @@ instance for Schema representation. Keep in mind that you can
easily produce clashes this way, each database type can only map to easily produce clashes this way, each database type can only map to
exactly one Doctrine mapping type. exactly one Doctrine mapping type.
Custom ColumnDefinition
-----------------------
You can define a custom definition for each column using the "columnDefinition"
attribute of ``@Column``. You have to define all the definitions that follow
the name of a column here.
.. note::
Using columnDefinition will break change-detection in SchemaTool.
Identifiers / Primary Keys Identifiers / Primary Keys
-------------------------- --------------------------