Hi,

This db update fails. The message (below) is that the field already exists. How should I move past this?

Thanks!
~~~~~~~~~~~
The following updates are pending:
entity_translation_upgrade module :
7001 - Implements hook_update_N(). Adds the 'complete' column to the history table.
Do you wish to run all pending updates? (y/n): y
Cannot add field entity_translation_upgrade_history.complete: field already exists. [error]
Performed update: entity_translation_upgrade_update_7001 [ok]
Finished performing updates.
~~~~~~~~~~~

Comments

js’s picture

For now, to get past this error, I commented out

//db_add_field($table, $name, $spec);

from
/sites/all/modules/entity_translation/entity_translation_upgrade/entity_translation_upgrade.install

to let the update complete adding the index and updating the new field.

plach’s picture

Status: Active » Postponed (maintainer needs more info)

Did you upgrade from a -dev version or previously applied a patch that could have added the {entity_translation_upgrade_history}.complete field?