fix @Lob
This commit is contained in:
@@ -34,6 +34,7 @@ public class ShortenedUrl implements UserData {
|
||||
private String code;
|
||||
private Long owner;
|
||||
@Lob
|
||||
@Column(length = 100000)
|
||||
private String url;
|
||||
private Instant expires;
|
||||
@JsonIgnore
|
||||
@@ -41,6 +42,7 @@ public class ShortenedUrl implements UserData {
|
||||
private String passwordHash;
|
||||
private String link;
|
||||
@Lob
|
||||
@Column(length = 100000)
|
||||
private String note;
|
||||
@Column(name = "addon", columnDefinition = "boolean default false")
|
||||
private boolean queryParameters;
|
||||
|
||||
Reference in New Issue
Block a user