check unique phone
Test Workflow / test (push) Successful in 3s

This commit is contained in:
vladp
2025-12-16 16:43:20 +07:00
parent fade754c7c
commit 6797a47df5
4 changed files with 10 additions and 4 deletions
@@ -42,6 +42,7 @@ public class User {
private String password;
@Size(min = 11, max = 14)
@Column(unique = true)
private String phone;
@Enumerated(EnumType.STRING)