From 843a419c4464398b9781124a1d18ec452864dd61 Mon Sep 17 00:00:00 2001 From: Nikolay Solovyev Date: Wed, 29 Jun 2022 18:33:30 +0400 Subject: [PATCH] add publish ts field --- src/cls/ZPM/Package.cls | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/cls/ZPM/Package.cls b/src/cls/ZPM/Package.cls index 7fb5f26..e737373 100644 --- a/src/cls/ZPM/Package.cls +++ b/src/cls/ZPM/Package.cls @@ -55,6 +55,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 ]; @@ -621,6 +623,9 @@ Storage Default UpLink + +publishTS + dependencies