Skip to content

Commit e8fcc8f

Browse files
authored
Merge pull request #75 from intersystems-community/stage
save publish timestamp
2 parents 1234ef5 + 62e3da1 commit e8fcc8f

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
@@ -57,6 +57,8 @@ Property versionPrerelease As %String [ SqlComputeCode = {Set {*} = $Piece($Piec
5757

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

60+
Property publishTS As %PosixTime [ SqlComputeCode = {Set {*} = ##class(%Library.PosixTime).CurrentUTCTimeStamp()}, SqlComputed, SqlComputeOnChange = %%INSERT ];
61+
6062
Property UpLink As ZPM.UpLink(%JSONINCLUDE = "NONE");
6163

6264
ForeignKey UpLinkFK(UpLink) References ZPM.UpLink() [ OnDelete = cascade ];
@@ -634,6 +636,9 @@ Storage Default
634636
<Value name="19">
635637
<Value>UpLink</Value>
636638
</Value>
639+
<Value name="20">
640+
<Value>publishTS</Value>
641+
</Value>
637642
</Data>
638643
<Data name="dependencies">
639644
<Attribute>dependencies</Attribute>

0 commit comments

Comments
 (0)