diff options
Diffstat (limited to 'modules/system/system.install')
-rw-r--r-- | modules/system/system.install | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/modules/system/system.install b/modules/system/system.install index fe70b3581..d0f42be23 100644 --- a/modules/system/system.install +++ b/modules/system/system.install @@ -3194,7 +3194,7 @@ function system_update_6019() { db_drop_primary_key($ret, 'term_node'); db_add_primary_key($ret, 'term_node', array('vid', 'tid', 'nid')); } - + // Make boxes.bid unsigned. db_drop_primary_key($ret, 'boxes'); db_change_field($ret, 'boxes', 'bid', 'bid', array('type' => 'serial', 'unsigned' => TRUE, 'not null' => TRUE), array('primary key' => array('bid'))); @@ -3766,6 +3766,18 @@ function system_update_6032() { } /** + * Change node_comment_statistics to be not autoincrement. + */ +function system_update_6033() { + $ret = array(); + if (db_table_exists('node_comment_statistics')) { + db_change_field($ret, 'node_comment_statistics', 'nid', 'nid', array('type' => 'int', 'unsigned' => TRUE, 'not null' => TRUE, 'default' => 0) + } + return $ret; +} + + +/** * @} End of "defgroup updates-5.x-to-6.x" * The next series of updates should start at 7000. */ |