diff options
| author | Clint Adams <clint@softwarefreedom.org> | 2012-10-22 15:19:04 -0400 |
|---|---|---|
| committer | Clint Adams <clint@softwarefreedom.org> | 2012-10-22 15:19:04 -0400 |
| commit | 025eb70c992914fbdf018c189d358ae250d2eeb1 (patch) | |
| tree | 7367d3726594183bbb908d1a797cacd410c301cc /config/models | |
This needs to be cleaned and sanitized before publication.
Diffstat (limited to 'config/models')
| -rw-r--r-- | config/models | 19 |
1 files changed, 19 insertions, 0 deletions
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) |
