From f2d8b6d762edf82eaf748af94ed6a15c2462394a Mon Sep 17 00:00:00 2001 From: Coolmic Date: Thu, 12 Mar 2015 12:22:59 +0100 Subject: [PATCH] Fix @Column options sections I lose hours to find out how to make column collation works, mostly because of incorrect docs. Annotations options is the equivalent of customSchemaOptions in https://github.com/doctrine/dbal/blob/master/docs/en/reference/schema-representation.rst See https://github.com/doctrine/doctrine2/blob/d1e5034659e7beeb11830417a4a38de6586fe960/lib/Doctrine/ORM/Tools/SchemaTool.php#L443 --- docs/en/reference/annotations-reference.rst | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/docs/en/reference/annotations-reference.rst b/docs/en/reference/annotations-reference.rst index a3cad03df..d6d700b83 100644 --- a/docs/en/reference/annotations-reference.rst +++ b/docs/en/reference/annotations-reference.rst @@ -129,8 +129,7 @@ Optional attributes: - ``comment``: The comment of the column in the schema (might not be supported by all vendors). - - ``customSchemaOptions``: Array of additional schema options - which are mostly vendor specific. + - ``collation``: The collation of the column (only supported by Drizzle, Mysql, PostgreSQL>=9.1, Sqlite and SQLServer). - **columnDefinition**: DDL SQL snippet that starts after the column name and specifies the complete (non-portable!) column definition.