summaryrefslogtreecommitdiff
path: root/includes/database
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2009-10-08 02:44:54 +0000
committerDries Buytaert <dries@buytaert.net>2009-10-08 02:44:54 +0000
commitf5b02199c737d7a2de051d479de703a2176b1cbe (patch)
tree6ac98fda0ee904ffcbbc697a9511b0dad9965a90 /includes/database
parentae50de9b1562a4ed4e11f6e3a667af963c1cf6d9 (diff)
downloadbrdo-f5b02199c737d7a2de051d479de703a2176b1cbe.tar.gz
brdo-f5b02199c737d7a2de051d479de703a2176b1cbe.tar.bz2
- Patch #596664 by c960657 | Crell: document “char”, “date” and “time” database field types.
Diffstat (limited to 'includes/database')
-rw-r--r--includes/database/schema.inc10
1 files changed, 5 insertions, 5 deletions
diff --git a/includes/database/schema.inc b/includes/database/schema.inc
index 749d21da7..0bd8147f9 100644
--- a/includes/database/schema.inc
+++ b/includes/database/schema.inc
@@ -39,11 +39,11 @@
* curly-brackets. For example, the node table vid field
* description might contain "Always holds the largest (most
* recent) {node_revision}.vid value for this nid."
- * - 'type': The generic datatype: 'varchar', 'int', 'serial'
- * 'float', 'numeric', 'text', 'blob' or 'datetime'. Most types
- * just map to the according database engine specific
- * datatypes. Use 'serial' for auto incrementing fields. This
- * will expand to 'int auto_increment' on mysql.
+ * - 'type': The generic datatype: 'char', 'varchar', 'text', 'blob', 'int',
+ * 'float', 'numeric', 'serial', 'date', 'datetime' or 'time'. Most types
+ * types just map to the according database engine specific datatypes. Use
+ * 'serial' for auto incrementing fields. This will expand to 'INT
+ * auto_increment' on MySQL.
* - 'serialize': A boolean indicating whether the field will be stored as
* a serialized string.
* - 'size': The data size: 'tiny', 'small', 'medium', 'normal',