Skip to content

Commit d970fc3

Browse files
- refs #106 Enforce text type usage in largeColumValues mode
1 parent cfb135b commit d970fc3

File tree

1 file changed

+6
-0
lines changed
  • grails-audit-logging-plugin/grails-app/domain/org/codehaus/groovy/grails/plugins/orm/auditable

1 file changed

+6
-0
lines changed

grails-audit-logging-plugin/grails-app/domain/org/codehaus/groovy/grails/plugins/orm/auditable/AuditLogEvent.groovy

+6
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,12 @@ class AuditLogEvent implements Serializable {
8787
id generator:'native', type:'long' // default
8888
}
8989

90+
// GH-106, Create strange dataType when using with database migration
91+
if (Holders.config.auditLog.largeValueColumnTypes) {
92+
oldValue type: "text"
93+
newValue type: "text"
94+
}
95+
9096
autoImport false
9197
version false
9298
}

0 commit comments

Comments
 (0)