Skip to content

Commit

Permalink
[SHIBUI-2165]
Browse files Browse the repository at this point in the history
updated precision for stored datetime
  • Loading branch information
jj committed Oct 11, 2021
1 parent a23980f commit 5cdde75
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -41,13 +41,13 @@ public abstract class AbstractAuditable implements Auditable {

@CreationTimestamp
@CreatedDate
@Column(nullable = false, updatable = false)
@Column(nullable = false, updatable = false, columnDefinition = "DATETIME(9)")
@JsonFormat(pattern = "yyyy-MM-dd'T'HH:mm:ss.SSSSSS")
private LocalDateTime createdDate;

@UpdateTimestamp
@LastModifiedDate
@Column(nullable = false)
@Column(nullable = false, columnDefinition = "DATETIME(9)")
@JsonFormat(pattern = "yyyy-MM-dd'T'HH:mm:ss.SSSSSS")
private LocalDateTime modifiedDate;

Expand Down

0 comments on commit 5cdde75

Please sign in to comment.