From 025eb70c992914fbdf018c189d358ae250d2eeb1 Mon Sep 17 00:00:00 2001 From: Clint Adams Date: Mon, 22 Oct 2012 15:19:04 -0400 Subject: This needs to be cleaned and sanitized before publication. --- config/models | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 config/models (limited to 'config/models') diff --git a/config/models b/config/models new file mode 100644 index 0000000..172af23 --- /dev/null +++ b/config/models @@ -0,0 +1,19 @@ +User + ident Text + isAdmin Bool default=False + UniqueUser ident + deriving Show Eq +TimeEntry + user UserId + category TimeCategoryId + day Day + hours Double + timestamp UTCTime + deriving Show Eq +TimeCategory + name Text + disabled Bool + UniqueTimeCategory name + deriving Show Eq + + -- By default this file is used in Model.hs (which is imported by Foundation.hs) -- cgit v1.2.3