drupal 9 drush generate module code example
Example: drupal 8 drush set module version
drush ev "\Drupal::keyValue('system.schema')->set('my_nice_module', (int) 8149)";
drush ev "\Drupal::keyValue('system.schema')->set('my_nice_module', (int) 8149)";