diff --git a/core/modules/taxonomy/src/TermStorageSchema.php b/core/modules/taxonomy/src/TermStorageSchema.php index d8e8da3f15..ea1663285e 100644 --- a/core/modules/taxonomy/src/TermStorageSchema.php +++ b/core/modules/taxonomy/src/TermStorageSchema.php @@ -65,6 +65,7 @@ protected function getEntitySchema(ContentEntityTypeInterface $entity_type, $res 'type' => 'varchar_ascii', 'length' => 12, 'not null' => TRUE, + 'default' => '', ], ], 'primary key' => ['nid', 'tid', 'langcode'], diff --git a/core/modules/taxonomy/taxonomy.install b/core/modules/taxonomy/taxonomy.install index 0e07b36a77..2cdf138df5 100644 --- a/core/modules/taxonomy/taxonomy.install +++ b/core/modules/taxonomy/taxonomy.install @@ -262,6 +262,7 @@ function taxonomy_update_8703() { 'type' => 'varchar_ascii', 'length' => 12, 'not null' => TRUE, + 'default' => '', ]); Database::getConnection()->schema()->dropPrimaryKey('taxonomy_index');