Multisite 6.x site. Link 2.5 module needed updating to Link 2.6. The module files had already been updated (all sites' modules are in sites/all/modules).
Right after the You have pending database updates. message, it dived right into database updates!
I don't think those updates are related to the Link module; may have been leftover updates not previously run?
[hulk]$ drush update
Refreshing update status information ...
Done.
Update information last refreshed: Thu, 07/09/2009 - 21:15
Update status information on all installed and enabled Drupal modules:
Name Installed version Proposed version Status
Administration menu 6.x-1.5 6.x-1.5 Up to date
Advanced help 6.x-1.2 6.x-1.2 Up to date
Autosave 6.x-1.1 6.x-1.1 Up to date
Drupal 6.13 6.13 Up to date
Content Construction Kit 6.x-2.4 6.x-2.4 Up to date
(CCK)
Date 6.x-2.2 6.x-2.2 Up to date
DHTML Menu 6.x-3.5 6.x-3.5 Up to date
Global Redirect 6.x-1.2 6.x-1.2 Up to date
Google Analytics 6.x-2.2 6.x-2.2 Up to date
Link 6.x-2.6 6.x-2.6 Up to date
Poormanscron 6.x-1.0 6.x-1.0 Up to date
Token 6.x-1.12 6.x-1.12 Up to date
Viewfield 6.x-1.x-dev 6.x-1.x-dev Up to date
Views 6.x-2.6 6.x-2.6 Up to date
Wysiwyg 6.x-2.0 6.x-2.0 Up to date
Framework 6.x-2.4 6.x-2.4 Up to date
No code updates available. [ok]
You have pending database updates. Please run `drush updatedb` or [warning]
visit update.php in your browser.
drush updateALTER TABLE {content_field_url} CHANGE field_url_url `field_url_url` [success]
VARCHAR(255) DEFAULT NULL
UPDATE {content_field_url} SET field_url_url = NULL WHERE [success]
field_url_url = '' OR field_url_url = 'N;'
ALTER TABLE {content_field_url} CHANGE field_url_title [success]
`field_url_title` VARCHAR(255) DEFAULT NULL
UPDATE {content_field_url} SET field_url_title = NULL WHERE [success]
field_url_title = '' OR field_url_title = 'N;'
ALTER TABLE {content_field_url} CHANGE field_url_attributes [success]
`field_url_attributes` MEDIUMTEXT DEFAULT NULL
UPDATE {content_field_url} SET field_url_attributes = NULL WHERE [success]
field_url_attributes = '' OR field_url_attributes =
'N;'
ALTER TABLE {content_type_move_over_law} CHANGE field_link_url [success]
`field_link_url` VARCHAR(255) DEFAULT NULL
UPDATE {content_type_move_over_law} SET field_link_url = NULL WHERE [success]
field_link_url = '' OR field_link_url = 'N;'
ALTER TABLE {content_type_move_over_law} CHANGE field_link_title [success]
`field_link_title` VARCHAR(255) DEFAULT NULL
UPDATE {content_type_move_over_law} SET field_link_title = NULL WHERE[success]
field_link_title = '' OR field_link_title = 'N;'
ALTER TABLE {content_type_move_over_law} CHANGE field_link_attributes[success]
`field_link_attributes` MEDIUMTEXT DEFAULT NULL
UPDATE {content_type_move_over_law} SET field_link_attributes = NULL [success]
WHERE field_link_attributes = '' OR field_link_attributes =
'N;'
Finished performing updates. [ok]
The following updates are pending:
link module
6000 - Ensure that content.module is updated before link module.
6001 - Change the database schema to allow NULL values.
Do you wish to run all pending updates? (y/n): y
[hulk]$ drush updatedb
No database updates required [success]
Finished performing updates. [ok]
Comments
Comment #1
moshe weitzman commentedupdate runs both updatecode and updatedb. if you only want code, then run updatecode.