function drupal_set_installed_schema_version

Update the installed version information for a module.


$module: A module name.

$version: The new schema version.

7 calls to drupal_set_installed_schema_version()
drupal_uninstall_modules in drupal/includes/
Uninstalls a given list of disabled modules.
module_enable in drupal/includes/
Enables or installs a given list of modules.
system_install in drupal/modules/system/system.install
Implements hook_install().
UpdateScriptFunctionalTest::testRequirements in drupal/modules/system/system.test
Tests that requirements warnings and errors are correctly displayed.
UpdateScriptFunctionalTest::testSuccessfulUpdateFunctionality in drupal/modules/system/system.test
Tests update.php after performing a successful update.

... See full list


drupal/includes/, line 177
API functions for installing modules and themes.


function drupal_set_installed_schema_version($module, $version) {
    'schema_version' => $version,
    ->condition('name', $module)

  // Reset the static cache of module schema versions.
  drupal_get_installed_schema_version(NULL, TRUE);