From eab0a46ef466a218220148dd4a097a528444ad9d Mon Sep 17 00:00:00 2001 From: Aaron Brethorst Date: Fri, 12 Jul 2024 15:24:26 -0700 Subject: [PATCH] Makes the data type of the `User.temporary` column implicit Fixes https://github.com/OneBusAway/onebusaway-application-modules/issues/352 - `BIT` column type breaks PostgreSQL support Allow Hibernate to figure out the best column type for a boolean value on its configured database, instead of using a MySQL-only data type. --- .../src/main/java/org/onebusaway/users/model/User.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/onebusaway-users/src/main/java/org/onebusaway/users/model/User.java b/onebusaway-users/src/main/java/org/onebusaway/users/model/User.java index 84f52e8ca3..3b9767fffd 100644 --- a/onebusaway-users/src/main/java/org/onebusaway/users/model/User.java +++ b/onebusaway-users/src/main/java/org/onebusaway/users/model/User.java @@ -103,7 +103,7 @@ public class User extends IdentityBean { private Date lastAccessTime; - @Column(columnDefinition = "BIT", length = 1) + @Column private boolean temporary; @Lob