keter-2.1.0: Web application deployment manager, focusing on Haskell web frameworks
Safe HaskellSafe-Inferred
LanguageHaskell98

Keter.Plugin.Postgres

Synopsis

Settings

setupDBInfo :: Settings -> DBInfo -> IO () Source #

How to create the given user/database. Default: uses the psql command line tool and sudo -u postgres.

Functions

load :: Settings -> FilePath -> IO Plugin Source #

Load a set of existing connections from a config file. If the file does not exist, it will be created. Any newly created databases will automatically be saved to this file.