Skip to content
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

[chore] User 엔티티 성향 테스트 결과 속성 타입 변경 #66

Merged
merged 3 commits into from
Jan 10, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
public record ProfileGetResponse(
String name,
String intro,
int result
String result
) {

public static ProfileGetResponse of(User user) {
Expand Down
2 changes: 2 additions & 0 deletions doorip-api/src/main/resources/db/migration/V4__ddl.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
alter table users drop column result;
alter table users add column result varchar(255);
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ public class User extends BaseTimeEntity {
private String name;
@Column(nullable = false)
private String intro;
private Integer result;
private String result;
@Column(nullable = false)
private String platformId;
@Column(nullable = false)
Expand Down