diff options
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 |] |