File tree Expand file tree Collapse file tree 2 files changed +4
-5
lines changed
src/main/java/bio/overture/ego/model/entity Expand file tree Collapse file tree 2 files changed +4
-5
lines changed Original file line number Diff line number Diff line change @@ -128,7 +128,6 @@ spec:
128
128
when {
129
129
anyOf {
130
130
branch ' develop'
131
- branch ' feature/develop-passport'
132
131
branch ' main'
133
132
expression { return params. PUBLISH_IMAGE }
134
133
}
Original file line number Diff line number Diff line change 1
1
package bio .overture .ego .model .entity ;
2
2
3
- import static bio .overture .ego .model .enums .AccessLevel .EGO_ACCESS_LEVEL_ENUM ;
4
3
5
4
import bio .overture .ego .model .enums .AccessLevel ;
6
5
import bio .overture .ego .model .enums .SqlFields ;
7
6
import bio .overture .ego .model .enums .Tables ;
8
7
import bio .overture .ego .view .Views ;
9
8
import com .fasterxml .jackson .annotation .JsonView ;
9
+ import com .vladmihalcea .hibernate .type .basic .PostgreSQLEnumType ;
10
+ import jakarta .persistence .*;
11
+ import jakarta .validation .constraints .NotNull ;
10
12
import java .util .Collection ;
11
13
import java .util .UUID ;
12
- import javax .persistence .*;
13
- import javax .validation .constraints .NotNull ;
14
14
import lombok .*;
15
15
import lombok .experimental .FieldNameConstants ;
16
16
import org .hibernate .annotations .GenericGenerator ;
@@ -42,7 +42,7 @@ public class VisaPermission extends AbstractPermission<Visa> {
42
42
@ NotNull
43
43
@ Column (name = SqlFields .MASK , nullable = false )
44
44
@ Enumerated (EnumType .STRING )
45
- @ Type (type = EGO_ACCESS_LEVEL_ENUM )
45
+ @ Type (value = PostgreSQLEnumType . class )
46
46
private AccessLevel mask ;
47
47
48
48
@ ManyToMany
You can’t perform that action at this time.
0 commit comments