Skip to content

Commit

Permalink
Merge pull request #211 from cardano-foundation/fix/MET-2063-remove-b…
Browse files Browse the repository at this point in the history
…alance-column-on-stake-address-entity

fix: remove balance column on stake address entity
  • Loading branch information
Sotatek-DucPhung committed May 8, 2024
2 parents 7574a48 + 7507285 commit d0dea7f
Showing 1 changed file with 0 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -47,19 +47,11 @@ public class StakeAddress extends BaseEntity {
@Hash28Type
private String scriptHash;

@Column(name = "balance", nullable = false, precision = 39)
@Word128Type
@Digits(integer = 39, fraction = 0)
private BigInteger balance;

@Column(name = "available_reward", nullable = false, precision = 39)
@Word128Type
@Digits(integer = 39, fraction = 0)
private BigInteger availableReward;

// @OneToMany(fetch = FetchType.LAZY, mappedBy = "stakeAddress")
// private List<Address> addresses;

@Override
public boolean equals(Object o) {
if (this == o) {
Expand Down

0 comments on commit d0dea7f

Please sign in to comment.