-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
add flyway migration-v1; add hibernate mapping #11
base: main
Are you sure you want to change the base?
Conversation
@Id | ||
@GeneratedValue(strategy = GenerationType.AUTO) | ||
@Column(nullable = false) | ||
private Long id; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
can you create parent class for id
private String photo; | ||
private Date date; | ||
private String links; | ||
private Long point_id; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@OnetoOne and fetch - lazy
private Long id; | ||
|
||
private String email; | ||
private boolean inAdmin; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
is
@Column(nullable = false) | ||
private Long id; | ||
|
||
private String email; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
email validation, you can check already exist validator
No description provided.