Skip to content

Commit

Permalink
Merge branch 'develop' into feature/885-admin-benefit-shops
Browse files Browse the repository at this point in the history
  • Loading branch information
BaeJinho4028 committed Sep 23, 2024
2 parents 1f051e1 + 48ae884 commit 2c62f45
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 2c62f45

Please sign in to comment.