diff --git a/grails-audit-logging-plugin/grails-app/domain/org/codehaus/groovy/grails/plugins/orm/auditable/AuditLogEvent.groovy b/grails-audit-logging-plugin/grails-app/domain/org/codehaus/groovy/grails/plugins/orm/auditable/AuditLogEvent.groovy index d0c81e53..1fd20e92 100644 --- a/grails-audit-logging-plugin/grails-app/domain/org/codehaus/groovy/grails/plugins/orm/auditable/AuditLogEvent.groovy +++ b/grails-audit-logging-plugin/grails-app/domain/org/codehaus/groovy/grails/plugins/orm/auditable/AuditLogEvent.groovy @@ -87,6 +87,12 @@ class AuditLogEvent implements Serializable { id generator:'native', type:'long' // default } + // GH-106, Create strange dataType when using with database migration + if (Holders.config.auditLog.largeValueColumnTypes) { + oldValue type: "text" + newValue type: "text" + } + autoImport false version false }