Getting this error on config:cache execution Using dump schema file: class DumpSchema extends \BeyondCode\LaravelMaskedDumper\DumpSchema { /** * @throws Exception */ public function getConnection(): ConnectionInterface { $connection = parent::getConnection(); $connection->getDoctrineSchemaManager()->getDatabasePlatform()->registerDoctrineTypeMapping('enum', 'string'); return $connection; } }