module Simplex.Messaging.Agent.Store.Postgres.Options
  ( DBOpts (..),
  ) where

import Data.ByteString (ByteString)
import Numeric.Natural

data DBOpts = DBOpts
  { DBOpts -> ByteString
connstr :: ByteString,
    DBOpts -> ByteString
schema :: ByteString,
    DBOpts -> Natural
poolSize :: Natural,
    DBOpts -> Bool
createSchema :: Bool
  }
  deriving (Int -> DBOpts -> ShowS
[DBOpts] -> ShowS
DBOpts -> String
(Int -> DBOpts -> ShowS)
-> (DBOpts -> String) -> ([DBOpts] -> ShowS) -> Show DBOpts
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
$cshowsPrec :: Int -> DBOpts -> ShowS
showsPrec :: Int -> DBOpts -> ShowS
$cshow :: DBOpts -> String
show :: DBOpts -> String
$cshowList :: [DBOpts] -> ShowS
showList :: [DBOpts] -> ShowS
Show)