Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- run :: HasConfig env Config => TonaDbM env a -> RIO env a
- type TonaDbM env = ReaderT SqlBackend (RIO env)
- data Config = Config {
- dbConnString :: DbConnStr
- dbConnNum :: DbConnNum
- sqliteConn :: SqliteConn
- newtype DbConnStr = DbConnStr {}
- newtype DbConnNum = DbConnNum {
- unDbConnNum :: Int
- runMigrate :: HasConfig env Config => Migration -> RIO env ()
Documentation
Config | |
|