summaryrefslogtreecommitdiff
path: root/includes/database
diff options
context:
space:
mode:
Diffstat (limited to 'includes/database')
-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' =>