silverstripe-framework/docs/en/topics
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 API CHANGE Moved Translatable class into new 'translatable' module 2011-03-29 18:07:56 +13:00
testing Updating unit and integration testing documentation. 2013-10-04 14:29:14 +13:00
access-control.md Typography review 2013-12-05 21:20:49 +01:00
caching.md FIX Prevent DOS by checking for env and admin on ?flush=1 (#1692) 2013-07-19 12:24:32 +12:00
commandline.md Update documentation static declarations to private 2013-06-08 15:16:59 +12:00
configuration.md Merge remote-tracking branch 'origin/3.0' into 3.1 2013-09-12 17:33:36 +02:00
controller.md Update docs to consistently use http://localhost/ (fixes #1919) 2013-10-23 20:24:52 +01:00
css.md Docs: Consistent arg quoting in <% require %> (#1614) 2013-08-03 18:44:32 +02:00
data-types.md Merge remote-tracking branch 'origin/3.0' into 3.1 2013-05-09 10:34:20 +02:00
datamodel.md API: Support string descriptors for unique indexes in Versioned 2013-12-06 10:02:44 -08:00
debugging.md Fixed _config.php references and usage in docs 2013-03-27 12:06:57 +01:00
directory-structure.md Fixed _config.php references and usage in docs 2013-03-27 12:06:57 +01:00
email.md API Marked statics private, use Config API instead (#8317) 2013-03-24 17:20:53 +01:00
environment-management.md Allow SS_DATABASE_NAME in _ss_environment.php configuration 2013-04-22 14:11:37 +02:00
error-handling.md Fixed _config.php references and usage in docs 2013-03-27 12:06:57 +01:00
files.md Fixed references to deprecated APIs in docs 2012-06-28 14:49:55 +02:00
form-validation.md getCMSValidator() docs 2013-09-18 14:32:38 +02:00
forms.md Update form.md 2013-11-28 16:27:01 +05:30
i18n.md API JS i18n files with short locale names, generated by build task 2013-10-25 12:05:46 +02:00
index.md Merge branch 'origin/3.0' into 3.1 2013-07-19 14:18:49 +12:00
javascript.md Remove references to ComplexTableField 2013-05-26 11:11:53 +12:00
module-development.md A few minor improvements to the "Module development" documentation 2013-06-16 12:55:39 +03:00
modules.md Update module development, remove outdated release steps 2013-06-15 12:06:25 +12:00
page-type-templates.md Update page-type-templates.md 2013-05-03 15:04:30 +12:00
page-types.md Update Page-types.md 2013-11-29 11:55:23 +05:30
rich-text-editing.md Document how to enable TinyMCE context menu 2013-10-23 19:59:17 +02:00
search.md API Marked statics private, use Config API instead (#8317) 2013-03-24 17:20:53 +01:00
security.md Update secrity.md 2013-11-29 14:45:53 +05:30
theme-development.md Update docs to consistently use http://localhost/ (fixes #1919) 2013-10-23 20:24:52 +01:00
themes.md Update docs to consistently use http://localhost/ (fixes #1919) 2013-10-23 20:24:52 +01:00
versioning.md Merge remote-tracking branch 'origin/3.0' into 3.1 2013-11-05 10:15:40 +01:00
widgets.md Update widget documentation (fixes #706) 2012-08-08 21:21:58 +12:00