summaryrefslogtreecommitdiff
path: root/config/models
diff options
context:
space:
mode:
authorClint Adams <clint@softwarefreedom.org>2013-07-19 15:25:08 -0400
committerClint Adams <clint@softwarefreedom.org>2013-07-19 15:25:08 -0400
commitf8b325748a3631df00841f3524b6e1f95a4e30f4 (patch)
tree3eb0d418d8a2ece33774f770e6086108c3ef6c86 /config/models
parent10f6e8f4cce3303f53df359e0f40fcb5d584e85d (diff)
Update to newer Yesod.
Diffstat (limited to 'config/models')
-rw-r--r--config/models6
1 files changed, 6 insertions, 0 deletions
diff --git a/config/models b/config/models
index 172af23..1bfa1c0 100644
--- a/config/models
+++ b/config/models
@@ -3,11 +3,17 @@ User
isAdmin Bool default=False
UniqueUser ident
deriving Show Eq
+Employment
+ user UserId
+ startDate Day
+ endDate Day Maybe
+ commitment Double
TimeEntry
user UserId
category TimeCategoryId
day Day
hours Double
+ note Text
timestamp UTCTime
deriving Show Eq
TimeCategory