diff options
author | Joris | 2016-06-12 23:54:17 +0200 |
---|---|---|
committer | Joris | 2016-06-12 23:54:17 +0200 |
commit | 6a0c5087f716ed6c876a666db6573491bfd3e094 (patch) | |
tree | bf439109143c7a1749c2661fc8b805b83a993027 /src/server/Model/Database.hs | |
parent | 38896af4281d2e191cbde15836a23e4c0274fff6 (diff) |
Design income form
Diffstat (limited to 'src/server/Model/Database.hs')
-rw-r--r-- | src/server/Model/Database.hs | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/server/Model/Database.hs b/src/server/Model/Database.hs index 0915afe..5df925a 100644 --- a/src/server/Model/Database.hs +++ b/src/server/Model/Database.hs @@ -16,6 +16,7 @@ import Control.Monad.Trans.Resource (runResourceT, ResourceT) import Data.Text import Data.Time.Clock (UTCTime) +import Data.Time.Calendar (Day) import Data.Int (Int64) import Database.Persist.Sqlite @@ -55,8 +56,9 @@ Job deriving Show Income userId UserId - creation UTCTime + date Day amount Int + createdAt UTCTime deletedAt UTCTime Maybe deriving Show |] |