-
Notifications
You must be signed in to change notification settings - Fork 160
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
org.hibernate.annotations.Type annotation does not work #166
Comments
try adding |
I tried adding
on an actual @entity, but it still didn't work. So adding a column like so
Now generates a CHAR(36) column which is no good. I was able to define a property like so
And do a find and replace for |
oh hmm.. |
Liquibase core generates a char(36) when it doesn't recognizes the datbaase being used. For Postgresql it should generate the UUID type as per https://github.com/liquibase/liquibase/blob/bb97c1a27c4fe679609f7a3c72f662667c0f39c7/liquibase-standard/src/main/java/liquibase/datatype/core/UUIDType.java#L19 if you're using Postgresql 8.3+ . |
Example type override
Exception when running
generateChangeLog
┆Issue is synchronized with this Jira Bug by Unito
The text was updated successfully, but these errors were encountered: