trek-db-0.1.0.0: A PostgreSQL Database Migrator

Safe HaskellNone
LanguageHaskell2010

Database.Trek.Db

Contents

Synopsis

Life cycle management

Types

data InputMigration Source #

Instances
ToRow InputMigration Source # 
Instance details

Defined in Database.Trek.Db

Methods

toRow :: InputMigration -> [Action] #

data OutputMigration Source #

Constructors

OutputMigration 
Instances
Eq OutputMigration Source # 
Instance details

Defined in Database.Trek.Db

Ord OutputMigration Source # 
Instance details

Defined in Database.Trek.Db

Show OutputMigration Source # 
Instance details

Defined in Database.Trek.Db

Generic OutputMigration Source # 
Instance details

Defined in Database.Trek.Db

Associated Types

type Rep OutputMigration :: Type -> Type #

FromRow OutputMigration Source # 
Instance details

Defined in Database.Trek.Db

type Rep OutputMigration Source # 
Instance details

Defined in Database.Trek.Db

type Rep OutputMigration = D1 (MetaData "OutputMigration" "Database.Trek.Db" "trek-db-0.1.0.0-Hw9qaaaf47I8pq3pxJIvP5" False) (C1 (MetaCons "OutputMigration" PrefixI True) (S1 (MetaSel (Just "omVersion") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Version) :*: S1 (MetaSel (Just "omHash") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Binary Hash))))

newtype GroupId Source #

Constructors

GroupId (Binary ByteString) 
Instances
Eq GroupId Source # 
Instance details

Defined in Database.Trek.Db

Methods

(==) :: GroupId -> GroupId -> Bool #

(/=) :: GroupId -> GroupId -> Bool #

Ord GroupId Source # 
Instance details

Defined in Database.Trek.Db

Show GroupId Source # 
Instance details

Defined in Database.Trek.Db

Generic GroupId Source # 
Instance details

Defined in Database.Trek.Db

Associated Types

type Rep GroupId :: Type -> Type #

Methods

from :: GroupId -> Rep GroupId x #

to :: Rep GroupId x -> GroupId #

FromRow GroupId Source # 
Instance details

Defined in Database.Trek.Db

FromField GroupId Source # 
Instance details

Defined in Database.Trek.Db

ToRow GroupId Source # 
Instance details

Defined in Database.Trek.Db

Methods

toRow :: GroupId -> [Action] #

ToField GroupId Source # 
Instance details

Defined in Database.Trek.Db

Methods

toField :: GroupId -> Action #

type Rep GroupId Source # 
Instance details

Defined in Database.Trek.Db

type Rep GroupId = D1 (MetaData "GroupId" "Database.Trek.Db" "trek-db-0.1.0.0-Hw9qaaaf47I8pq3pxJIvP5" True) (C1 (MetaCons "GroupId" PrefixI False) (S1 (MetaSel (Nothing :: Maybe Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Binary ByteString))))

type DB = DBT IO #