Skip to content

Commit

Permalink
feat: users 테이블에 일반 로그인 아이디 패스워드 방식의 칼럼 추가
Browse files Browse the repository at this point in the history
  • Loading branch information
gitchannn committed Nov 1, 2023
1 parent 62a05ec commit 2358abe
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 1 deletion.
2 changes: 2 additions & 0 deletions server/src/main/java/sallange/server/entity/User.java
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,8 @@ public class User extends BaseDate {

@Column(name = "oauth_id")
private Long oAuthId;
private String loginId;
private String encryptedPassword;
private Integer leftRentCount;

public User(final Long id, final String name, final OAuthProvider oAuthProvider, final Long oAuthId, final Integer leftRentCount) {
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
alter table users
add `login_id` varchar(255);

alter table users
add `encrypted_password` varchar(255);
2 changes: 1 addition & 1 deletion server/src/main/resources/security

0 comments on commit 2358abe

Please sign in to comment.