API page: http://api.drupal.org/node/21346
This documentation incorrectly states "All parameters apart from 'type' are optional except that type 'numeric' columns must specify 'precision' and 'scale'. "
The 'length' parameter must be specified for type 'varchar' columns, at least when using MySQL InnoDB.
Comment | File | Size | Author |
---|---|---|---|
#2 | schema-docs-correction-1451032-2.patch | 820 bytes | NROTC_Webmaster |
Comments
Comment #1
jhodgdonGood point. Actual URL of the page is:
http://api.drupal.org/api/drupal/includes%21database%21schema.inc/group/...
This is probably a good Novice project to update this documentation.
Comment #2
NROTC_Webmaster CreditAttribution: NROTC_Webmaster commentedI'm not sure of the exact wording that you were looking for but take a look at this and let me know if I should change it.
Comment #3
jhodgdonThis looks good to me. I'll leave it at RTBC for a few days to see if anyone more of a database expert than I am objects to this change.
Comment #4
jhodgdonCommitted to 8.x and 7.x. Thanks!
Comment #5.0
(not verified) CreditAttribution: commentedFixed API page link