You are here

function simple_sitemap_update_8207 in Simple XML sitemap 4.x

Same name and namespace in other branches
  1. 8.3 simple_sitemap.install \simple_sitemap_update_8207()
  2. 8.2 simple_sitemap.install \simple_sitemap_update_8207()

Updating entity_id field of simple_sitemap_entity_overrides table to varchar(32).

File

./simple_sitemap.install, line 382
Module install and update procedures.

Code

function simple_sitemap_update_8207() {
  \Drupal::database()
    ->schema()
    ->changeField('simple_sitemap_entity_overrides', 'entity_id', 'entity_id', [
    'description' => 'ID of the overriding entity.',
    'type' => 'varchar',
    'length' => 32,
    'not null' => TRUE,
  ]);
}