1
0
mirror of synced 2024-12-12 22:36:02 +03:00

[2.0] DDC-277 - Added entry to UPGRADE_TO_2_0 Readme about removal of default mapping option.

This commit is contained in:
beberlei 2010-01-26 22:03:26 +00:00
parent 21de3d3ff2
commit 4e8e7b8b0f

View File

@ -2,6 +2,16 @@
> This document does not describe how to upgrade from Doctrine 1.x to Doctrine 2 as this is a more
> complicated process.
# Upgrade from 2.0-ALPHA4 to 2.0 ...
## Default Property for Field Mappings removed
The "default" option for database column defaults has been removed. If desired database column defaults can
be implemented by using the @columnDefinition annotation (or the approriate XML and YAML equivalents).
Additionally keep in mind that Doctrine's focus in on objects and you can specifiy default values for an Entitiy's
mapped fields inside PHP easily. Upon persist() invocation these values are saved as if they were default values.
# Upgrade from 2.0-ALPHA3 to 2.0-ALPHA4
## CLI Controller changes