Fix doctrine commands with legacy tables.

We have tables that contain ENUM fields. These aren't managed by
Doctrine, but doctrine still reads them when running commands like
```doctrine:schema:validate```. This commit maps the enum type to a
string type.