OwOpointTracker/config/models.persistentmodels

26 lines
702 B
Text
Raw Permalink Normal View History

-- By default this file is used by `persistFileWith` in Model.hs (which is imported by Foundation.hs)
-- Syntax for this file here: https://github.com/yesodweb/persistent/blob/master/docs/Persistent-entity-syntax.md
2024-10-08 14:17:49 +02:00
Round
stationId Text
tutorPoints Int
erstiePoints Int
number Int
UniqueRoundStation number stationId
--User
-- ident Text
-- password Text Maybe
-- UniqueUser ident
-- deriving Typeable
--Email
-- email Text
-- userId UserId Maybe
-- verkey Text Maybe
-- UniqueEmail email
--Comment json -- Adding "json" causes ToJSON and FromJSON instances to be derived.
-- message Text
-- userId UserId Maybe
-- deriving Eq
-- deriving Show