function system_post_update_schema_version_int
Update schema version to integers.
See also
https://www.drupal.org/project/drupal/issues/3143713
File
-
core/
modules/ system/ system.post_update.php, line 165
Code
function system_post_update_schema_version_int() {
$registry = \Drupal::keyValue('system.schema');
foreach ($registry->getAll() as $name => $schema) {
if (is_string($schema)) {
$registry->set($name, (int) $schema);
}
}
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.