diff --git a/doorip-api/src/main/java/org/doorip/user/dto/response/ProfileGetResponse.java b/doorip-api/src/main/java/org/doorip/user/dto/response/ProfileGetResponse.java index 2e787bc..ff2d39f 100644 --- a/doorip-api/src/main/java/org/doorip/user/dto/response/ProfileGetResponse.java +++ b/doorip-api/src/main/java/org/doorip/user/dto/response/ProfileGetResponse.java @@ -5,7 +5,7 @@ public record ProfileGetResponse( String name, String intro, - int result + String result ) { public static ProfileGetResponse of(User user) { diff --git a/doorip-api/src/main/resources/db/migration/V4__ddl.sql b/doorip-api/src/main/resources/db/migration/V4__ddl.sql new file mode 100644 index 0000000..e99efca --- /dev/null +++ b/doorip-api/src/main/resources/db/migration/V4__ddl.sql @@ -0,0 +1,2 @@ +alter table users drop column result; +alter table users add column result varchar(255); \ No newline at end of file diff --git a/doorip-domain/src/main/java/org/doorip/user/domain/User.java b/doorip-domain/src/main/java/org/doorip/user/domain/User.java index f074af8..057b42e 100644 --- a/doorip-domain/src/main/java/org/doorip/user/domain/User.java +++ b/doorip-domain/src/main/java/org/doorip/user/domain/User.java @@ -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)