Skip to content

Commit

Permalink
[bugfix/InhaBas#337] DB 시간이 아닌 entity 생성 시간으로 설정
Browse files Browse the repository at this point in the history
  • Loading branch information
whitem4rk committed Jul 3, 2024
1 parent 3d29c58 commit 6ee2bdd
Showing 1 changed file with 1 addition and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,7 @@
public abstract class BaseEntity {

@CreatedDate
@Column(
nullable = false,
updatable = false,
insertable = false,
columnDefinition = "DATETIME(0) DEFAULT CURRENT_TIMESTAMP")
@Column(nullable = false, updatable = false, columnDefinition = "DATETIME(0)")
private LocalDateTime dateCreated;

@CreatedDate
Expand Down

0 comments on commit 6ee2bdd

Please sign in to comment.