adds category managment to embassy-publish and admin API

This commit is contained in:
Keagan McClelland
2022-06-06 17:02:23 -06:00
parent f3b9e78fca
commit a2f7b97942
6 changed files with 170 additions and 76 deletions

View File

@@ -77,7 +77,6 @@ Metric
Category
createdAt UTCTime
name Text
parent CategoryId Maybe
description Text
priority Int default=0
UniqueName name
@@ -88,6 +87,7 @@ PkgCategory
createdAt UTCTime
pkgId PkgRecordId
categoryId CategoryId
UniquePkgCategory pkgId categoryId
deriving Eq
deriving Show