You are here

function simple_sitemap_update_8207 in Simple XML sitemap 8.3

Same name and namespace in other branches
  1. 8.2 simple_sitemap.install \simple_sitemap_update_8207()
  2. 4.x 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 387
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,
  ]);
}