Jungle Ran

Blog/Bloglet about Drupal, Ops, and mORe

Increase max length of a string base field

Submitted by jungle on Thu, 12/24/2020 - 13:18

Comment two occurrences in web/core/lib/Drupal/Core/Entity/Sql/SqlContentEntityStorageSchema.php

// throw new FieldStorageDefinitionUpdateForbiddenException('The SQL storage cannot change the schema for an existing field (' . $storage_definition->getName() . ' in ' . $storage_definition->getTargetEntityTypeId() . ' entity) with data.');

©2021 ranqiangjun.com. All rights reserved.