Make email nullable field
This commit is contained in:
parent
94a225cf9f
commit
69a94fa236
|
@ -34,7 +34,7 @@ public class Credential implements DataEntity<Credential, UUID> {
|
|||
private Integer provider;
|
||||
@Column(name = "\"Public\"", nullable = false)
|
||||
private String publicValue;
|
||||
@Column(name = "\"Email\"", nullable = false)
|
||||
@Column(name = "\"Email\"")
|
||||
private String email;
|
||||
@Column(name = "\"Secret\"", nullable = false)
|
||||
private String secret;
|
||||
|
|
|
@ -26,7 +26,7 @@ public class UserInfo implements DataEntity<UserInfo, UUID> {
|
|||
private UUID id;
|
||||
|
||||
|
||||
@Column(name = "email", nullable = false)
|
||||
@Column(name = "email")
|
||||
private String email = null;
|
||||
|
||||
@Column(name = "authorization_level", nullable = false)
|
||||
|
|
Loading…
Reference in New Issue