I upgraded to the D6 version from the D5 version and got:
user warning: Duplicate key name 'location' query: ALTER TABLE journal ADD INDEX location (location(32)) in /includes/database.mysql-common.inc on line 434.

It looks like in journal.install that there is journal_update_6100 and journal_update_6101 which were previously named journal_update_5100 and journal_update_5101. I don't think the update functions should have had their names changed if they are the same old updates since this causes them to be rerun.

Comments

sun’s picture

Status: Active » Postponed

The good news first: Those updates did not harm your data or site. You can ignore those update messages about Journal module.

The bad news: Unfortunately, those updates have not been renumbered, they are needed in both versions of the module. We have a critical update system conflict in Drupal core currently. See #136078: New module update numbering scheme for contrib modules for further information.

Marking as postponed until there is a solution in above mentioned issue.

aaron’s picture

you'll probably want to skip the update if it's been run in that case. something like

if (drupal_get_installed_schema_version('journal') < 5101) { 
  // do the update 
}
sun’s picture

Well, you probably want to read the last ~15 follow-ups of the above mentioned issue to understand why the proposed workaround does not work out.

sun’s picture

Project: Journal »
Status: Postponed » Closed (works as designed)

The solution is to add db_primary_key_exists() and db_index_exists() to Drupal core, so modules can properly test whether an update like this has to run. In all other cases, modules are able to run updates conditionally already.

sun’s picture

Project: » Journal