diff options
author | David Rothstein <drothstein@gmail.com> | 2015-10-14 18:29:54 -0400 |
---|---|---|
committer | David Rothstein <drothstein@gmail.com> | 2015-10-14 18:29:54 -0400 |
commit | 5d6340b7e3e9b8e4038da4ddc13e92b01a165ba0 (patch) | |
tree | e88183913e00d1ec8efbe85c3ea16cb3257f2db6 /includes | |
parent | 7ec991628cec7dfd56e162bf5ca65ae214c46c38 (diff) | |
download | brdo-5d6340b7e3e9b8e4038da4ddc13e92b01a165ba0.tar.gz brdo-5d6340b7e3e9b8e4038da4ddc13e92b01a165ba0.tar.bz2 |
Issue #911352 by Liam Morland, Sylvain Lecoy, Joe Murray, Crell: Document that foreign keys may not be used by all drivers
Diffstat (limited to 'includes')
-rw-r--r-- | includes/database/schema.inc | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/includes/database/schema.inc b/includes/database/schema.inc index 1fc92954a..d8344c626 100644 --- a/includes/database/schema.inc +++ b/includes/database/schema.inc @@ -92,7 +92,8 @@ require_once dirname(__FILE__) . '/query.inc'; * specification). Each specification is an array containing the name of * the referenced table ('table'), and an array of column mappings * ('columns'). Column mappings are defined by key pairs ('source_column' => - * 'referenced_column'). + * 'referenced_column'). This key is for documentation purposes only; foreign + * keys are not created in the database, nor are they enforced by Drupal. * - 'indexes': An associative array of indexes ('indexname' => * specification). Each specification is an array of one or more * key column specifiers (see below) that form an index on the @@ -144,6 +145,8 @@ require_once dirname(__FILE__) . '/query.inc'; * 'unique keys' => array( * 'vid' => array('vid'), * ), + * // For documentation purposes only; foreign keys are not created in the + * // database. * 'foreign keys' => array( * 'node_revision' => array( * 'table' => 'node_revision', |