Skip to content

Commit

Permalink
#327 [fix] migration 용 api 삭제 및 부분 코드 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
hyejungg committed May 6, 2023
1 parent 519c26c commit 93c79db
Show file tree
Hide file tree
Showing 7 changed files with 0 additions and 351 deletions.

This file was deleted.

106 changes: 0 additions & 106 deletions hous-api/src/main/java/hous/api/service/delete/MigrationService.java

This file was deleted.

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,6 @@ public class AuditingTimeEntity {
@Field(name = "created_at")
private LocalDateTime createdAt;

// TODO migration - setter 삭제할
@Setter
@LastModifiedDate
@JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd'T'HH:mm:ss.SSS'Z'", timezone = "Asia/Seoul")
@Field(name = "updated_at")
Expand Down

This file was deleted.

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -55,20 +55,6 @@ public static Notification newInstance(Long onboardingId, NotificationType type,
.build();
}

// TODO migration - 삭제 예정

public static Notification migrationInstance(Long id, Long onboardingId, NotificationType type, String content,
boolean isRead, LocalDateTime createdAt) {
return builder()
.id(id)
.onboardingId(onboardingId)
.type(type)
.content(content)
.isRead(isRead)
.expireAt(createdAt.plusDays(30))
.build();
}

public void updateIsRead() {
this.isRead = true;
}
Expand Down

0 comments on commit 93c79db

Please sign in to comment.