Updated Drupal to 8.6. This goes with the following updates because it's possible...
[yaffs-website] / web / core / modules / aggregator / src / FeedStorageSchema.php
index b58c614fdc83e3a6374fc1716562fd846040a075..7a705100563258cf9e23a85bd47621da13162098 100644 (file)
@@ -17,7 +17,7 @@ class FeedStorageSchema extends SqlContentEntityStorageSchema {
     $schema = parent::getSharedTableFieldSchema($storage_definition, $table_name, $column_mapping);
     $field_name = $storage_definition->getName();
 
-    if ($table_name == 'aggregator_feed') {
+    if ($table_name == $this->storage->getBaseTable()) {
       switch ($field_name) {
         case 'url':
           $this->addSharedTableFieldIndex($storage_definition, $schema, TRUE, 255);