mirror of
https://github.com/Start9Labs/registry.git
synced 2026-03-26 18:21:52 +00:00
Feat/local packages (#133)
* enable packages to be marked as unavailable locally * change isLocal column to hidden * add option to deprecate a service version based on a min os version
This commit is contained in:
@@ -36,6 +36,7 @@ import Startlude (
|
||||
Text,
|
||||
UTCTime,
|
||||
Word32,
|
||||
Bool
|
||||
)
|
||||
|
||||
|
||||
@@ -44,6 +45,7 @@ share
|
||||
[persistLowerCase|
|
||||
PkgRecord
|
||||
Id PkgId sql=pkg_id
|
||||
hidden Bool default=False
|
||||
createdAt UTCTime
|
||||
updatedAt UTCTime Maybe
|
||||
deriving Eq
|
||||
@@ -52,6 +54,7 @@ PkgRecord
|
||||
VersionRecord sql=version
|
||||
createdAt UTCTime
|
||||
updatedAt UTCTime Maybe
|
||||
deprecatedAt UTCTime Maybe
|
||||
pkgId PkgRecordId
|
||||
number Version
|
||||
title Text
|
||||
|
||||
Reference in New Issue
Block a user