mirror of
https://github.com/simplex-chat/simplexmq.git
synced 2026-09-01 18:08:36 +00:00
* smp server: split postgres support to a separate executable, to not require postgres library in the main binary * comments * enable server_postgres flag by default, add CPP option to test * refactor * change default for server_postgres to False * diff
13 lines
267 B
Haskell
13 lines
267 B
Haskell
module Simplex.Messaging.Agent.Store.Postgres.Options where
|
|
|
|
import Data.ByteString (ByteString)
|
|
import Numeric.Natural
|
|
|
|
data DBOpts = DBOpts
|
|
{ connstr :: ByteString,
|
|
schema :: ByteString,
|
|
poolSize :: Natural,
|
|
createSchema :: Bool
|
|
}
|
|
deriving (Show)
|