Skip to content
This repository was archived by the owner on Oct 6, 2023. It is now read-only.

Commit 1db1197

Browse files
committed
v1.2: modified names on date fields for snapshot table
Signed-off-by: Neal Ensor <[email protected]>
1 parent bddf4bd commit 1db1197

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/main/java/gov/osti/entity/MetadataSnapshot.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,10 +54,12 @@ public class MetadataSnapshot implements Serializable {
5454
// administrative dates
5555
@Basic (optional = false)
5656
@JsonFormat (shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd", timezone = "EST")
57+
@Column (name = "date_record_added", insertable = true, updatable = false)
5758
@Temporal (TemporalType.TIMESTAMP)
5859
private Date dateRecordAdded;
5960
@Basic (optional = false)
6061
@JsonFormat (shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd", timezone = "EST")
62+
@Column (name = "date_record_updated", insertable = true, updatable = true)
6163
@Temporal (TemporalType.TIMESTAMP)
6264
private Date dateRecordUpdated;
6365

0 commit comments

Comments
 (0)