File tree Expand file tree Collapse file tree
src/main/java/com/fund/stockProject Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11package com .fund .stockProject .auth .entity ;
22
3+ import jakarta .persistence .Column ;
34import jakarta .persistence .Entity ;
45import jakarta .persistence .GeneratedValue ;
56import jakarta .persistence .GenerationType ;
@@ -16,8 +17,13 @@ public class RefreshToken {
1617 @ GeneratedValue (strategy = GenerationType .IDENTITY )
1718 private Long id ;
1819
20+ @ Column (nullable = false , length = 255 )
1921 private String email ;
22+
23+ @ Column (name = "refresh_token" , nullable = false , length = 1024 )
2024 private String refreshToken ;
25+
26+ @ Column (nullable = false )
2127 private Long expiration ;
2228
2329 @ Builder
Original file line number Diff line number Diff line change @@ -41,8 +41,10 @@ public class User extends Core {
4141
4242 private String providerId ;
4343
44+ @ Column (length = 2048 )
4445 private String socialAccessToken ;
4546
47+ @ Column (length = 2048 )
4648 private String socialRefreshToken ;
4749
4850 // 유저 관련 설정
You can’t perform that action at this time.
0 commit comments