Getting ENUM DataType to work with Doctrine 2 in Zend Framework 2

When using Doctrine 2 with a MySQL Database which has tables with ENUM datatypes, you might run into the following error message: ‘Unknown database type enum requested, Doctrine\DBAL\Platforms\MySqlPlatform may not support it.’ This is because Doctrine 2 doesn’t support the ENUM DataType natively as you can read here: Doctrine Cookbook. In their Doctrine Cookbook they … Continue reading Getting ENUM DataType to work with Doctrine 2 in Zend Framework 2