dbmigrations-0.9: An implementation of relational database "migrations"

Safe HaskellNone
LanguageHaskell2010

Moo.Core

Synopsis

Documentation

type AppT a = ReaderT AppState IO a Source

The monad in which the application runs.

type CommandHandler = StoreData -> AppT () Source

The type of actions that are invoked to handle specific commands

data AppState Source

Application state which can be accessed by any command handler.

data CommandOptions Source

CommandOptions are those options that can be specified at the command prompt to modify the behavior of a command.

data Command Source

A command has a name, a number of required arguments' labels, a number of optional arguments' labels, and an action to invoke.

data ConfigData Source

ConfigOptions are those options read from configuration file

databaseTypes :: [(String, String -> IO Backend)] Source

The values of DBM_DATABASE_TYPE and their corresponding connection factory functions.