Working on a project on localhost, for which I installed the backup_migrate module, it seems one update procedure for this module had some problem (can't really remember what). And now every time I update any module (even totally unrelated), when performing the "update.php" script, Drupal states that there's the following pending update for the backup_migrate module:
7303 - Add a serial id field to all tables to allow them to be ctools exportable.
If I click apply, I get the usual progress bar, then the following error message:
backup_migrate module
Update #7303
Failed: PDOException: SQLSTATE[42000]: Syntax error or access violation: 1075 Incorrect table definition; there can be only one auto column and it must be defined as a key: ALTER TABLE {backup_migrate_sources} DROP PRIMARY KEY; Array ( ) in db_drop_primary_key() (line 2904 of C:\xampp\htdocs\my_site\includes\database\database.inc).
So it seems to me that the update job #7303 has already been applied successfully, but for some reason Drupal hasn't registered that and thinks it still needs to be done.
How can I correct that?