From 49862159358e453b4c1a953a353ff4d3603af79f Mon Sep 17 00:00:00 2001 From: Lucy Cifferello <12953208+elvece@users.noreply.github.com> Date: Wed, 30 Jun 2021 11:08:32 -0400 Subject: [PATCH] unique index on category table and update sys endpoint --- src/Handler/Version.hs | 2 +- src/Model.hs | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/Handler/Version.hs b/src/Handler/Version.hs index 42d51c6..1abbcd1 100644 --- a/src/Handler/Version.hs +++ b/src/Handler/Version.hs @@ -48,4 +48,4 @@ getVersionWSpec rootDir ext = do getSystemStatusR :: Handler OSVersionRes 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. - pure $ OSVersionRes NOTHING $ Version (0,3,0,0) \ No newline at end of file + pure $ OSVersionRes INSTRUCTIONS $ Version (0,3,0,0) \ No newline at end of file diff --git a/src/Model.hs b/src/Model.hs index 153cef5..58f4c54 100644 --- a/src/Model.hs +++ b/src/Model.hs @@ -62,6 +62,7 @@ Category name CategoryTitle parent CategoryId Maybe description Text + UniqueName name deriving Eq deriving Show