matabas/backend/DBConfig.hs

12 lines
338 B
Haskell
Raw Normal View History

2023-08-09 23:05:56 +02:00
{-# LANGUAGE OverloadedStrings #-}
module DBConfig where
import qualified Database.PostgreSQL.Typed as PG
import Network.Socket (SockAddr(SockAddrUnix))
myPGDatabase :: PG.PGDatabase
myPGDatabase = PG.defaultPGDatabase
{ PG.pgDBAddr = Left ("localhost", "2137")
, PG.pgDBUser = "matabasare"
, PG.pgDBName = "matabas"
}