silverstripe-framework/docs/en
Fred Condo b88a0955a5 API: Support string descriptors for unique indexes in Versioned
- Document the format for descriptor arrays
- Implement the behaviour that developers have come to expect for
  string descriptors of indexes
- Add test for handling of unique indexes (MySQL & sqlite3)
- Resolve #2403

Versioned needs to convert unique indexes to non-unique for its suffixed
tables, such as Foo_Live and Foo_versions. Because DataObject accepts
string descriptors such as array('UniqIDX' => 'unique (Uniq)') as well
as array-based descriptors, Versioned needs to recognize string
descriptors. This patch accomplishes that. Before, Versioned would fail
to convert string-described indexes to non-unique, resulting in run-time
errors when creating a new version of an object.
2013-12-06 10:02:44 -08:00
..
_images Added docs for composer 2012-11-03 18:00:58 +13:00
changelogs Merge remote-tracking branch 'origin/3.1' 2013-12-02 20:49:34 +01:00
howto API Removed Member.LastVisited and Member.NumVisits 2013-10-10 12:35:07 +02:00
installation Merge remote-tracking branch 'origin/3.1' 2013-12-02 20:49:34 +01:00
misc Merge branch '3.1' 2013-11-11 18:18:25 +11:00
reference API: Support string descriptors for unique indexes in Versioned 2013-12-06 10:02:44 -08:00
topics API: Support string descriptors for unique indexes in Versioned 2013-12-06 10:02:44 -08:00
tutorials DOCS: Missing 's' in Mentors cause of some confusion in tutorial. 2013-12-02 16:05:45 +13:00
index.md Merge remote-tracking branch 'origin/3.0' into 3.1 2013-10-07 16:18:20 +02:00