diff options
Diffstat (limited to 'src/server/Model/Database.hs')
-rw-r--r-- | src/server/Model/Database.hs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/server/Model/Database.hs b/src/server/Model/Database.hs index a6ce4f4..d4a7d50 100644 --- a/src/server/Model/Database.hs +++ b/src/server/Model/Database.hs @@ -21,6 +21,8 @@ import Data.Int (Int64) import Database.Persist.Sqlite import Database.Persist.TH +import Model.Frequency + share [mkPersist sqlSettings, mkMigrate "migrateAll"] [persistLowerCase| User creation UTCTime @@ -35,6 +37,7 @@ Payment name Text cost Int deletedAt UTCTime Maybe + frequency Frequency deriving Show SignIn token Text |