This commit is contained in:
2023-12-13 11:37:48 +01:00
parent f11e2fde88
commit 30c2f4c45d
11 changed files with 21 additions and 7 deletions
@@ -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;