Skip to content

Commit a084259

Browse files
committed
Spring migration
1 parent 78e89e5 commit a084259

File tree

2 files changed

+4
-5
lines changed

2 files changed

+4
-5
lines changed

Jenkinsfile

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,6 @@ spec:
128128
when {
129129
anyOf {
130130
branch 'develop'
131-
branch 'feature/develop-passport'
132131
branch 'main'
133132
expression { return params.PUBLISH_IMAGE }
134133
}

src/main/java/bio/overture/ego/model/entity/VisaPermission.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
11
package bio.overture.ego.model.entity;
22

3-
import static bio.overture.ego.model.enums.AccessLevel.EGO_ACCESS_LEVEL_ENUM;
43

54
import bio.overture.ego.model.enums.AccessLevel;
65
import bio.overture.ego.model.enums.SqlFields;
76
import bio.overture.ego.model.enums.Tables;
87
import bio.overture.ego.view.Views;
98
import com.fasterxml.jackson.annotation.JsonView;
9+
import com.vladmihalcea.hibernate.type.basic.PostgreSQLEnumType;
10+
import jakarta.persistence.*;
11+
import jakarta.validation.constraints.NotNull;
1012
import java.util.Collection;
1113
import java.util.UUID;
12-
import javax.persistence.*;
13-
import javax.validation.constraints.NotNull;
1414
import lombok.*;
1515
import lombok.experimental.FieldNameConstants;
1616
import org.hibernate.annotations.GenericGenerator;
@@ -42,7 +42,7 @@ public class VisaPermission extends AbstractPermission<Visa> {
4242
@NotNull
4343
@Column(name = SqlFields.MASK, nullable = false)
4444
@Enumerated(EnumType.STRING)
45-
@Type(type = EGO_ACCESS_LEVEL_ENUM)
45+
@Type(value = PostgreSQLEnumType.class)
4646
private AccessLevel mask;
4747

4848
@ManyToMany

0 commit comments

Comments
 (0)