1
0
mirror of synced 2024-12-05 03:06:05 +03:00

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 d1e5034659/lib/Doctrine/ORM/Tools/SchemaTool.php (L443)
This commit is contained in:
Coolmic 2015-03-12 12:22:59 +01:00
parent cfc7236599
commit f2d8b6d762

View File

@ -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.