X-Git-Url: http://aleph1.co.uk/gitweb/?a=blobdiff_plain;f=web%2Fcore%2Fmodules%2Ffile%2Fsrc%2FFileStorageSchema.php;h=17e909ab22200d282dd015e9fa7e39de826e21d4;hb=5b8bb166bfa98770daef9de5c127fc2e6ef02340;hp=64412fa42c2421544fff9a468c8c5e3d5c573525;hpb=a2bd1bf0c2c1f1a17d188f4dc0726a45494cefae;p=yaffs-website diff --git a/web/core/modules/file/src/FileStorageSchema.php b/web/core/modules/file/src/FileStorageSchema.php index 64412fa42..17e909ab2 100644 --- a/web/core/modules/file/src/FileStorageSchema.php +++ b/web/core/modules/file/src/FileStorageSchema.php @@ -17,7 +17,7 @@ class FileStorageSchema extends SqlContentEntityStorageSchema { $schema = parent::getSharedTableFieldSchema($storage_definition, $table_name, $column_mapping); $field_name = $storage_definition->getName(); - if ($table_name == 'file_managed') { + if ($table_name == $this->storage->getBaseTable()) { switch ($field_name) { case 'status': case 'changed':