Skip to content

Commit

Permalink
fix : is_previous 컬럼 자료형 boolean 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
Choon0414 committed Sep 22, 2024
1 parent 6431650 commit 432a263
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ public class Version extends BaseEntity {
@OneToMany(mappedBy = "version", orphanRemoval = true, cascade = ALL, fetch = FetchType.EAGER)
private List<VersionContent> contents = new ArrayList<>();

@Column(name = "is_previous")
@Column(name = "is_previous", columnDefinition = "TINYINT")
private boolean isPrevious;

@Builder
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
ALTER TABLE versions
MODIFY COLUMN `is_previous` TINYINT(1);

0 comments on commit 432a263

Please sign in to comment.