diff --git a/bubble-server/src/main/java/bubble/model/bill/AccountPaymentArchived.java b/bubble-server/src/main/java/bubble/model/bill/AccountPaymentArchived.java index 3c22ba88..a7b8f883 100644 --- a/bubble-server/src/main/java/bubble/model/bill/AccountPaymentArchived.java +++ b/bubble-server/src/main/java/bubble/model/bill/AccountPaymentArchived.java @@ -45,7 +45,7 @@ public class AccountPaymentArchived extends IdentifiableBase { @ECSearchable @ECField(index=20, type=EntityFieldType.opaque_string) @Type(type=ENCRYPTED_STRING) - @Column(updatable=false, nullable=false) + @Column(updatable=false, nullable=false, columnDefinition="varchar") // no length limit @JsonIgnore @Getter @Setter private String billsJson; @Transient public Bill[] getBills() { return json(billsJson, Bill[].class); } @@ -53,7 +53,7 @@ public class AccountPaymentArchived extends IdentifiableBase { @ECSearchable @ECField(index=30) @Type(type=ENCRYPTED_STRING) - @Column(updatable=false, nullable=false) + @Column(updatable=false, nullable=false, columnDefinition="varchar") // no length limit @JsonIgnore @Getter @Setter private String paymentsJson; @Transient public AccountPayment[] getPayments() { return json(paymentsJson, AccountPayment[].class); } @@ -63,7 +63,7 @@ public class AccountPaymentArchived extends IdentifiableBase { @ECSearchable @ECField(index=40) @Type(type=ENCRYPTED_STRING) - @Column(updatable=false, nullable=false) + @Column(updatable=false, nullable=false, columnDefinition="varchar") // no length limit @JsonIgnore @Getter @Setter private String paymentMethodsJson; @Transient public AccountPaymentMethod[] getPaymentMethods() {