[#4381] No enums generated in MySQL when <forcedType/> contains <types/> matcher

This commit is contained in:
lukaseder 2015-06-12 11:45:20 +02:00
parent d0f9b3dfda
commit 18d59094ec

View File

@ -289,9 +289,9 @@ public class MySQLDatabase extends AbstractDatabase {
if (columnDefinition != null) {
// [#1137] Avoid generating enum classes for enum types that
// are explicitly forced to another type
if (getConfiguredForcedType(columnDefinition) == null) {
// [#1137] Avoid generating enum classes for enum types that
// are explicitly forced to another type
if (getConfiguredForcedType(columnDefinition, columnDefinition.getType()) == null) {
DefaultEnumDefinition definition = new DefaultEnumDefinition(schema, name, comment);
CSVReader reader = new CSVReader(