silverstripe-framework/docs/en
madmatt 951152e1c6 Update datamodel.md to use an array argument to Enum instead of the more error-prone string
The previous argument to the Enum was: 
"Status" => "Enum('Active, Injured, Retired')"

This would cause issues where the 'Injured' and 'Retired' statuses would actually be stored in the database as ' Injured' and ' Retired' respectively, at least in 3.0.

Using an array() to specify the enum, and using normal array syntax (albeit within a string) is less likely to cause errors.
2013-10-05 00:53:08 +13:00
..
_images Added docs for composer 2012-11-03 18:00:58 +13:00
changelogs Merge remote-tracking branch 'origin/3.0' into 3.1 2013-10-02 12:21:35 +02:00
howto Merge pull request #2474 from wilr/externalcmslink 2013-10-02 02:38:56 -07:00
installation FAQ docs about composer install vs. archives 2013-10-04 11:21:04 +02:00
misc Added link to translation CI 2013-08-22 18:02:02 +02:00
reference Merge pull request #2430 from wilr/gridfieldactions 2013-09-25 12:47:27 -07:00
topics Update datamodel.md to use an array argument to Enum instead of the more error-prone string 2013-10-05 00:53:08 +13:00
tutorials Merge remote-tracking branch 'origin/3.0' into 3.1 2013-09-12 17:33:36 +02:00
index.md Corrected a number of inbound links pointing to the documentation. 2012-10-09 14:53:47 +13:00