The Drupal 7 {system} table has a schema_version column. Its default value is -1 as indicated by the DESCRIBE system;
MySQL command.
Sometimes an update function won't run if the module's schema_version is -1. For instance, I have site that migrated from Drupal 6 to Drupal 7 quite some time ago. Recently I found that a database column that should have been introduced by honeypot_update_7100()
never ran. I'm not sure whether or not the version of honeypot at the time of the migration contained that function. After changing the schema_version to 0, update.php ran that update and the missing column was introduced. See PDOException Column not found: 1054 Unknown column 'hostname' for similar stories.
Is -1 treated specially? Do all -1's potentially need to change to 0 for their update functions to run?