summaryrefslogtreecommitdiff
path: root/includes
diff options
context:
space:
mode:
authorDavid Rothstein <drothstein@gmail.com>2015-10-14 18:29:54 -0400
committerDavid Rothstein <drothstein@gmail.com>2015-10-14 18:29:54 -0400
commit5d6340b7e3e9b8e4038da4ddc13e92b01a165ba0 (patch)
treee88183913e00d1ec8efbe85c3ea16cb3257f2db6 /includes
parent7ec991628cec7dfd56e162bf5ca65ae214c46c38 (diff)
downloadbrdo-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.inc5
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',