Change schema version of a module
For Drupal8+:
Manually setting the current schema version of a module
drush eval "\Drupal::service('update.update_hook_registry')->setInstalledVersion('my_module', 9001);"
Or in this way:
\Drupal::keyValue('system.schema')->set('my_module', (int) 9001);
For Drupal 7:
drush ev "drupal_set_installed_schema_version('my_module', 7025)"
To get installed version for Drupal8+: