From 755f0b3dbbc4f22bd62f52ab2754be9c9b3f90f7 Mon Sep 17 00:00:00 2001 From: Benjamin Eberlei Date: Tue, 15 Feb 2011 21:33:24 +0100 Subject: [PATCH] Add section about columnDefinition into basic mapping. --- en/reference/basic-mapping.rst | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/en/reference/basic-mapping.rst b/en/reference/basic-mapping.rst index 95a1d8c4d..ca2cbb101 100644 --- a/en/reference/basic-mapping.rst +++ b/en/reference/basic-mapping.rst @@ -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 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 --------------------------