diff options
Diffstat (limited to '')
-rw-r--r-- | lib/Persist.hs | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/lib/Persist.hs b/lib/Persist.hs index e268455..f722487 100644 --- a/lib/Persist.hs +++ b/lib/Persist.hs @@ -166,6 +166,13 @@ Announcement json sql=tt_announcements url Text Maybe announcedAt UTCTime Maybe deriving Generic Show + +TickerAnnouncement json sql=tt_ticker + header Text + message Text + archived Bool + created UTCTime + deriving Generic Show |] instance ToSchema TicketId where |