Skip to content

Commit

Permalink
Merge pull request #75 from intersystems-community/stage
Browse files Browse the repository at this point in the history
save publish timestamp
  • Loading branch information
nsolov authored Jul 13, 2022
2 parents 1234ef5 + 62e3da1 commit e8fcc8f
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/cls/ZPM/Package.cls
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,8 @@ Property versionPrerelease As %String [ SqlComputeCode = {Set {*} = $Piece($Piec

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

Property publishTS As %PosixTime [ SqlComputeCode = {Set {*} = ##class(%Library.PosixTime).CurrentUTCTimeStamp()}, SqlComputed, SqlComputeOnChange = %%INSERT ];

Property UpLink As ZPM.UpLink(%JSONINCLUDE = "NONE");

ForeignKey UpLinkFK(UpLink) References ZPM.UpLink() [ OnDelete = cascade ];
Expand Down Expand Up @@ -634,6 +636,9 @@ Storage Default
<Value name="19">
<Value>UpLink</Value>
</Value>
<Value name="20">
<Value>publishTS</Value>
</Value>
</Data>
<Data name="dependencies">
<Attribute>dependencies</Attribute>
Expand Down

0 comments on commit e8fcc8f

Please sign in to comment.