Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Tree: 310f38dd7d
Fetching contributors…

Cannot retrieve contributors at this time

19 lines (14 sloc) 0.542 kB
module Config.Database (
databaseConnection,
ormAdapter
) where
import System.Log.Logger
-- Your favorite HDBC driver
import Database.HDBC.ODBC
import qualified Turbinado.Database.ORM.Adapters.MySQL as M
import Turbinado.Environment.Types
----------------------------------------------------------------
-- Database connection
----------------------------------------------------------------
databaseConnection = Just $ connectPostgreSQL "host=localhost dbname=turbinado user=turbinado password=turbinado"
ormAdapter = M.ormAdapter
Jump to Line
Something went wrong with that request. Please try again.