RED-2362: Set text Colums to lenght 4000
This commit is contained in:
parent
3c040d3854
commit
22f019629e
@ -29,7 +29,7 @@ public class CommentEntity {
|
||||
|
||||
@Column
|
||||
private OffsetDateTime date;
|
||||
@Column(columnDefinition = "text")
|
||||
@Column(length = 4000)
|
||||
private String text;
|
||||
@Column(name = "user_id")
|
||||
private String user;
|
||||
|
||||
@ -24,7 +24,7 @@ public class ManualForceRedactionEntity {
|
||||
private String user;
|
||||
@Column
|
||||
private AnnotationStatus status;
|
||||
@Column(columnDefinition = "text")
|
||||
@Column(length = 4000)
|
||||
private String legalBasis;
|
||||
@Column
|
||||
private OffsetDateTime requestDate;
|
||||
|
||||
@ -26,9 +26,9 @@ public class ManualRedactionEntryEntity {
|
||||
private String user;
|
||||
@Column
|
||||
private String typeId;
|
||||
@Column
|
||||
@Column(length = 4000)
|
||||
private String value;
|
||||
@Column(columnDefinition = "text")
|
||||
@Column(length = 4000)
|
||||
private String reason;
|
||||
@Column
|
||||
private String legalBasis;
|
||||
|
||||
@ -32,7 +32,7 @@ public class AuditEntity {
|
||||
private String category;
|
||||
@Column
|
||||
private String userId;
|
||||
@Column
|
||||
@Column(length = 4000)
|
||||
private String message;
|
||||
|
||||
@Basic(fetch = FetchType.EAGER)
|
||||
|
||||
@ -19,7 +19,7 @@ public class DictionaryEntryEntity {
|
||||
@Id
|
||||
@GeneratedValue
|
||||
private long entryId;
|
||||
@Column
|
||||
@Column(length = 4000)
|
||||
private String value;
|
||||
@Column
|
||||
private long version;
|
||||
|
||||
@ -20,9 +20,9 @@ public class LegalBasisEntity {
|
||||
private long id;
|
||||
@Column
|
||||
private String name;
|
||||
@Column(columnDefinition = "text")
|
||||
@Column(length = 4000)
|
||||
private String description;
|
||||
@Column(columnDefinition = "text")
|
||||
@Column(length = 4000)
|
||||
private String reason;
|
||||
|
||||
|
||||
|
||||
@ -38,7 +38,7 @@ public class TypeEntity {
|
||||
private boolean isCaseInsensitive;
|
||||
@Column
|
||||
private boolean isRecommendation;
|
||||
@Column
|
||||
@Column(length = 4000)
|
||||
private String description;
|
||||
@Column
|
||||
private long version;
|
||||
|
||||
@ -21,7 +21,7 @@ public class WatermarkEntity {
|
||||
@Id
|
||||
@Column
|
||||
private String dossierTemplateId;
|
||||
@Column(columnDefinition = "text")
|
||||
@Column(length = 4000)
|
||||
private String text;
|
||||
@Column
|
||||
private String hexColor;
|
||||
|
||||
@ -21,7 +21,8 @@ public class DossierAttributeEntity {
|
||||
@EmbeddedId
|
||||
private DossierAttributeEntityId id;
|
||||
|
||||
@Column
|
||||
// TODO Maybe @Lob, for larger images
|
||||
@Column(columnDefinition = "TEXT")
|
||||
private String value;
|
||||
|
||||
@JsonIgnore
|
||||
|
||||
@ -33,7 +33,7 @@ public class DossierEntity {
|
||||
@Column
|
||||
private OffsetDateTime date;
|
||||
|
||||
@Column
|
||||
@Column(length = 4000)
|
||||
private String description;
|
||||
|
||||
@Column
|
||||
|
||||
@ -30,7 +30,7 @@ public class DossierTemplateEntity {
|
||||
@Column
|
||||
private String name;
|
||||
|
||||
@Column
|
||||
@Column(length = 4000)
|
||||
private String description;
|
||||
|
||||
@Column
|
||||
|
||||
@ -14,7 +14,7 @@ public class FileAttributeEntity {
|
||||
@EmbeddedId
|
||||
private FileAttributeEntityId fileAttributeId;
|
||||
|
||||
@Column
|
||||
@Column(length = 4000)
|
||||
private String value;
|
||||
|
||||
@JsonIgnore
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user