summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJennifer Hodgdon <yahgrp@poplarware.com>2012-02-29 16:54:06 -0800
committerJennifer Hodgdon <yahgrp@poplarware.com>2012-02-29 16:54:06 -0800
commit0faaef4696ac272ee7a701d94b52aae952090eea (patch)
tree8ee43a9903eaa0b9a9496b2aeecd2d91975b1076
parent15cd0ca6ff82a49e2f7277c6372e8e2dd645b5eb (diff)
downloadbrdo-0faaef4696ac272ee7a701d94b52aae952090eea.tar.gz
brdo-0faaef4696ac272ee7a701d94b52aae952090eea.tar.bz2
Issue #1451032 by NROTC_Webmaster: Add note to schema docs about varchar columns needing to have length specified
-rw-r--r--includes/database/schema.inc3
1 files changed, 2 insertions, 1 deletions
diff --git a/includes/database/schema.inc b/includes/database/schema.inc
index e2a1c4caa..b7ae97015 100644
--- a/includes/database/schema.inc
+++ b/includes/database/schema.inc
@@ -77,7 +77,8 @@ require_once dirname(__FILE__) . '/query.inc';
* (decimal digits right of the decimal point). Both values are
* mandatory. Ignored for other field types.
* All parameters apart from 'type' are optional except that type
- * 'numeric' columns must specify 'precision' and 'scale'.
+ * 'numeric' columns must specify 'precision' and 'scale', and type
+ * 'varchar' must specify the 'length' parameter.
* - 'primary key': An array of one or more key column specifiers (see below)
* that form the primary key.
* - 'unique keys': An associative array of unique keys ('keyname' =>