Procházet zdrojové kódy

Fix varchar definition for new entity

tags/v0.10.5
Kristijan Mitrovic před 4 roky
rodič
revize
4c3d923030
1 změnil soubory, kde provedl 3 přidání a 3 odebrání
  1. +3
    -3
      bubble-server/src/main/java/bubble/model/bill/AccountPaymentArchived.java

+ 3
- 3
bubble-server/src/main/java/bubble/model/bill/AccountPaymentArchived.java Zobrazit soubor

@@ -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() {


Načítá se…
Zrušit
Uložit