mirror of
https://github.com/Start9Labs/registry.git
synced 2026-03-30 19:54:47 +00:00
unique index on category table and update sys endpoint
This commit is contained in:
@@ -48,4 +48,4 @@ getVersionWSpec rootDir ext = do
|
|||||||
getSystemStatusR :: Handler OSVersionRes
|
getSystemStatusR :: Handler OSVersionRes
|
||||||
getSystemStatusR = do
|
getSystemStatusR = do
|
||||||
-- hardcoded to the next major version release so the UI can by dynamic. this might change depending on the version number we decide to release.
|
-- hardcoded to the next major version release so the UI can by dynamic. this might change depending on the version number we decide to release.
|
||||||
pure $ OSVersionRes NOTHING $ Version (0,3,0,0)
|
pure $ OSVersionRes INSTRUCTIONS $ Version (0,3,0,0)
|
||||||
@@ -62,6 +62,7 @@ Category
|
|||||||
name CategoryTitle
|
name CategoryTitle
|
||||||
parent CategoryId Maybe
|
parent CategoryId Maybe
|
||||||
description Text
|
description Text
|
||||||
|
UniqueName name
|
||||||
deriving Eq
|
deriving Eq
|
||||||
deriving Show
|
deriving Show
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user