Skip to content

Commit 843a419

Browse files
committed
add publish ts field
1 parent adeea5a commit 843a419

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/cls/ZPM/Package.cls

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,8 @@ Property versionPrerelease As %String [ SqlComputeCode = {Set {*} = $Piece($Piec
5555

5656
Property versionBuildmetadata As %String [ SqlComputeCode = {Set {*} = $Piece({version},"+",2)}, SqlComputed, SqlComputeOnChange = %%INSERT ];
5757

58+
Property publishTS As %PosixTime [ SqlComputeCode = {Set {*} = ##class(%Library.PosixTime).CurrentUTCTimeStamp()}, SqlComputed, SqlComputeOnChange = %%INSERT ];
59+
5860
Property UpLink As ZPM.UpLink(%JSONINCLUDE = "NONE");
5961

6062
ForeignKey UpLinkFK(UpLink) References ZPM.UpLink() [ OnDelete = cascade ];
@@ -621,6 +623,9 @@ Storage Default
621623
<Value name="19">
622624
<Value>UpLink</Value>
623625
</Value>
626+
<Value name="20">
627+
<Value>publishTS</Value>
628+
</Value>
624629
</Data>
625630
<Data name="dependencies">
626631
<Attribute>dependencies</Attribute>

0 commit comments

Comments
 (0)