Skip to content

Commit

Permalink
feat: V2 테이블 이름 명시적으로 지정
Browse files Browse the repository at this point in the history
  • Loading branch information
uwoobeat committed Jan 22, 2025
1 parent c2d5cd9 commit ff0b484
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
import jakarta.persistence.Id;
import jakarta.persistence.JoinColumn;
import jakarta.persistence.ManyToOne;
import jakarta.persistence.Table;
import lombok.AccessLevel;
import lombok.Builder;
import lombok.Getter;
Expand All @@ -20,6 +21,7 @@

@Getter
@Entity
@Table(name = "study_session_v2")
@RequiredArgsConstructor(access = AccessLevel.PROTECTED)
public class StudySessionV2 extends BaseEntity {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
import jakarta.persistence.Id;
import jakarta.persistence.JoinColumn;
import jakarta.persistence.ManyToOne;
import jakarta.persistence.Table;
import java.time.DayOfWeek;
import java.time.LocalTime;
import lombok.AccessLevel;
Expand All @@ -27,6 +28,7 @@

@Getter
@Entity
@Table(name = "study_v2")
@NoArgsConstructor(access = AccessLevel.PROTECTED)
public class StudyV2 extends BaseEntity {

Expand Down

0 comments on commit ff0b484

Please sign in to comment.