integrate into startup
This commit is contained in:
parent
9a74b75a50
commit
e46ba39998
2 changed files with 2 additions and 0 deletions
|
@ -48,6 +48,7 @@ main = do
|
||||||
execute_ conn initUser
|
execute_ conn initUser
|
||||||
execute_ conn initProduct
|
execute_ conn initProduct
|
||||||
execute_ conn initToken
|
execute_ conn initToken
|
||||||
|
execute_ conn initAmount
|
||||||
withStdoutLogger $ \log -> do
|
withStdoutLogger $ \log -> do
|
||||||
let settings = setPort 3000 $ setLogger log defaultSettings
|
let settings = setPort 3000 $ setLogger log defaultSettings
|
||||||
initState = ReadState
|
initState = ReadState
|
||||||
|
|
|
@ -5,3 +5,4 @@ module Model
|
||||||
import Model.User as M
|
import Model.User as M
|
||||||
import Model.Product as M
|
import Model.Product as M
|
||||||
import Model.Auth as M
|
import Model.Auth as M
|
||||||
|
import Model.Amount as M
|
||||||
|
|
Loading…
Reference in a new issue