fix: Dump media handlers and timezones with --dump-schema

Those were left out of the schema dump when the features were introduced, probably
because ByteString doesn't have a toJSON instance. Changing the type to Text solves
this easily.

Resolves #3237
This commit is contained in:
Wolfgang Walther
2024-02-20 18:44:17 +01:00
committed by Wolfgang Walther
parent 6d506df6f3
commit 8a21a9c34e
9 changed files with 1803 additions and 14 deletions
+1 -1
View File
@@ -110,7 +110,7 @@ data MediaHandler
-- custom
| CustomFunc QualifiedIdentifier RelIdentifier
| NoAgg
deriving (Eq, Show)
deriving (Eq, Show, Generic, JSON.ToJSON)
funcReturnsSingle :: Routine -> Bool
funcReturnsSingle proc = case proc of