diff options
author | Dries Buytaert <dries@buytaert.net> | 2009-04-21 05:07:08 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2009-04-21 05:07:08 +0000 |
commit | 1280c324fa10f3a1eb4f2f67584e8fa77784f7b8 (patch) | |
tree | 907cb5892e920701dfc3b85cd9b4032475d2e689 /modules/system | |
parent | a4d3da9ec5133cbf4ce76b37020f45e5207cd421 (diff) | |
download | brdo-1280c324fa10f3a1eb4f2f67584e8fa77784f7b8.tar.gz brdo-1280c324fa10f3a1eb4f2f67584e8fa77784f7b8.tar.bz2 |
- Patch #423948 by mfb: updated documentation, update functions should include schema descriptions.
Diffstat (limited to 'modules/system')
-rw-r--r-- | modules/system/system.api.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/system/system.api.php b/modules/system/system.api.php index 96cecdf19..58e8212c0 100644 --- a/modules/system/system.api.php +++ b/modules/system/system.api.php @@ -1602,7 +1602,7 @@ function hook_install() { function hook_update_N(&$sandbox = NULL) { // For most updates, the following is sufficient. $ret = array(); - db_add_field($ret, 'mytable1', 'newcol', array('type' => 'int', 'not null' => TRUE)); + db_add_field($ret, 'mytable1', 'newcol', array('type' => 'int', 'not null' => TRUE, 'description' => 'My new integer column.')); return $ret; // However, for more complex operations that may take a long time, |