-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Open
Labels
Description
Bug Report
Q | A |
---|---|
Version | 4.3 |
Summary
- Existing MySql enum field throws error during migration after upgrading from
4.2.4
to4.3
.
Current behavior
Column column name
has invalid type
Expected behavior
- MySql enum fields are supported
- No error is thrown during migration
How to reproduce
- Create an enum field in MySql with an equivalent entity property e.g.
status
#[Column(type: "string", columnDefinition: "ENUM('visible', 'invisible')")]
private $status;
- Execute migration e.g.
php bin/console doctrine:migrations:migrate