fix @Lob
This commit is contained in:
parent
f11e2fde88
commit
30c2f4c45d
@ -87,6 +87,11 @@
|
|||||||
<artifactId>webstly-wireguard</artifactId>
|
<artifactId>webstly-wireguard</artifactId>
|
||||||
<version>${revision}</version>
|
<version>${revision}</version>
|
||||||
</dependency>
|
</dependency>
|
||||||
|
<dependency>
|
||||||
|
<groupId>org.mariadb.jdbc</groupId>
|
||||||
|
<artifactId>mariadb-java-client</artifactId>
|
||||||
|
<scope>runtime</scope>
|
||||||
|
</dependency>
|
||||||
</dependencies>
|
</dependencies>
|
||||||
|
|
||||||
<!-- Database -->
|
<!-- Database -->
|
||||||
|
@ -38,7 +38,7 @@ public class BorrowItem implements UserData {
|
|||||||
@Column(name = "name", nullable = false)
|
@Column(name = "name", nullable = false)
|
||||||
private String name;
|
private String name;
|
||||||
@Lob
|
@Lob
|
||||||
@Column(name = "description", nullable = true)
|
@Column(name = "description", nullable = true, length = 100000)
|
||||||
private String description;
|
private String description;
|
||||||
@Column(name = "url", nullable = true)
|
@Column(name = "url", nullable = true)
|
||||||
private String url;
|
private String url;
|
||||||
|
@ -41,10 +41,10 @@ public class BorrowRequest implements UserData {
|
|||||||
@Column(name = "ends", nullable = false)
|
@Column(name = "ends", nullable = false)
|
||||||
private Instant ends;
|
private Instant ends;
|
||||||
@Lob
|
@Lob
|
||||||
@Column(name = "reply", nullable = true)
|
@Column(name = "reply", nullable = true, length = 100000)
|
||||||
private String reply;
|
private String reply;
|
||||||
@Lob
|
@Lob
|
||||||
@Column(name = "comment", nullable = true)
|
@Column(name = "comment", nullable = true, length = 100000)
|
||||||
private String comment;
|
private String comment;
|
||||||
@Transient
|
@Transient
|
||||||
private BorrowItem borrowItem;
|
private BorrowItem borrowItem;
|
||||||
|
@ -32,7 +32,7 @@ public class UserProfileField implements UserData {
|
|||||||
@Column(name = "value", nullable = true)
|
@Column(name = "value", nullable = true)
|
||||||
private String value;
|
private String value;
|
||||||
@Lob
|
@Lob
|
||||||
@Column(name = "blob_value", nullable = true)
|
@Column(name = "blob_value", nullable = true, length = 100000)
|
||||||
private String blob;
|
private String blob;
|
||||||
@Column(name = "type", nullable = false)
|
@Column(name = "type", nullable = false)
|
||||||
private ProfileFieldType type;
|
private ProfileFieldType type;
|
||||||
|
@ -33,6 +33,7 @@ public class Invite implements UserData {
|
|||||||
private Instant starts;
|
private Instant starts;
|
||||||
private Instant expires;
|
private Instant expires;
|
||||||
@Lob
|
@Lob
|
||||||
|
@Column(length = 100000)
|
||||||
private String message;
|
private String message;
|
||||||
private String note;
|
private String note;
|
||||||
private boolean redeemed;
|
private boolean redeemed;
|
||||||
|
@ -37,17 +37,22 @@ public class JitsiRoom implements UserData {
|
|||||||
private Instant expires;
|
private Instant expires;
|
||||||
@Lob
|
@Lob
|
||||||
@JsonIgnore
|
@JsonIgnore
|
||||||
|
@Column(length = 100000)
|
||||||
private String token;
|
private String token;
|
||||||
@Lob
|
@Lob
|
||||||
@JsonIgnore
|
@JsonIgnore
|
||||||
|
@Column(length = 100000)
|
||||||
private String moderationToken;
|
private String moderationToken;
|
||||||
@Lob
|
@Lob
|
||||||
|
@Column(length = 100000)
|
||||||
private String url;
|
private String url;
|
||||||
@Lob
|
@Lob
|
||||||
|
@Column(length = 100000)
|
||||||
private String moderationUrl;
|
private String moderationUrl;
|
||||||
@Reference
|
@Reference
|
||||||
private String code;
|
private String code;
|
||||||
@Lob
|
@Lob
|
||||||
|
@Column(length = 100000)
|
||||||
private String orgUrl;
|
private String orgUrl;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -24,7 +24,7 @@ public class MinetestAccount implements UserData {
|
|||||||
@Column(name = "owner")
|
@Column(name = "owner")
|
||||||
private Long owner;
|
private Long owner;
|
||||||
@Lob
|
@Lob
|
||||||
@Column(name = "skin")
|
@Column(name = "skin", length = 100000)
|
||||||
private String skin;
|
private String skin;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -25,6 +25,7 @@ public class ParteyUserReport {
|
|||||||
private Long reporter;
|
private Long reporter;
|
||||||
private Long user;
|
private Long user;
|
||||||
@Lob
|
@Lob
|
||||||
|
@Column(length = 100000)
|
||||||
private String comment;
|
private String comment;
|
||||||
private String world;
|
private String world;
|
||||||
private Instant created;
|
private Instant created;
|
||||||
|
@ -43,8 +43,8 @@ public class Timeslot implements UserData {
|
|||||||
private Visibility visibility;
|
private Visibility visibility;
|
||||||
@Column(name = "title", nullable = true)
|
@Column(name = "title", nullable = true)
|
||||||
private String title;
|
private String title;
|
||||||
@Column(name = "description", nullable = true)
|
|
||||||
@Lob
|
@Lob
|
||||||
|
@Column(name = "description", nullable = true, length = 100000)
|
||||||
private String description;
|
private String description;
|
||||||
@Column(name = "share", nullable = true)
|
@Column(name = "share", nullable = true)
|
||||||
private String share;
|
private String share;
|
||||||
|
2
pom.xml
2
pom.xml
@ -14,7 +14,7 @@
|
|||||||
<java.version>17</java.version>
|
<java.version>17</java.version>
|
||||||
<querydsl.version>5.0.0</querydsl.version>
|
<querydsl.version>5.0.0</querydsl.version>
|
||||||
<nimbus.version>9.37.3</nimbus.version>
|
<nimbus.version>9.37.3</nimbus.version>
|
||||||
<revision>3.0.0-SNAPSHOT</revision>
|
<revision>3.0.1-SNAPSHOT</revision>
|
||||||
</properties>
|
</properties>
|
||||||
|
|
||||||
<parent>
|
<parent>
|
||||||
|
@ -34,6 +34,7 @@ public class ShortenedUrl implements UserData {
|
|||||||
private String code;
|
private String code;
|
||||||
private Long owner;
|
private Long owner;
|
||||||
@Lob
|
@Lob
|
||||||
|
@Column(length = 100000)
|
||||||
private String url;
|
private String url;
|
||||||
private Instant expires;
|
private Instant expires;
|
||||||
@JsonIgnore
|
@JsonIgnore
|
||||||
@ -41,6 +42,7 @@ public class ShortenedUrl implements UserData {
|
|||||||
private String passwordHash;
|
private String passwordHash;
|
||||||
private String link;
|
private String link;
|
||||||
@Lob
|
@Lob
|
||||||
|
@Column(length = 100000)
|
||||||
private String note;
|
private String note;
|
||||||
@Column(name = "addon", columnDefinition = "boolean default false")
|
@Column(name = "addon", columnDefinition = "boolean default false")
|
||||||
private boolean queryParameters;
|
private boolean queryParameters;
|
||||||
|
Loading…
Reference in New Issue
Block a user