feature-flipper-postgres-0.1.1.1: A minimally obtrusive feature flag library

Safe HaskellNone
LanguageHaskell2010

Control.Flipper.Adapters.Postgres.Models

Contents

Synopsis

Documentation

data Feature Source #

Instances

Eq Feature Source # 

Methods

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

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

Show Feature Source # 
PersistFieldSql Feature Source # 
PersistEntity Feature Source # 
PersistField Feature Source # 
ToBackendKey SqlBackend Feature Source # 
Eq (Key Feature) Source # 
Ord (Key Feature) Source # 
Read (Key Feature) Source # 
Show (Key Feature) Source # 
ToJSON (Key Feature) Source # 
FromJSON (Key Feature) Source # 
ToHttpApiData (Key Feature) Source # 
FromHttpApiData (Key Feature) Source # 
PathPiece (Key Feature) Source # 
PersistFieldSql (Key Feature) Source # 

Methods

sqlType :: Proxy * (Key Feature) -> SqlType #

PersistField (Key Feature) Source # 
data Unique Feature Source # 
data EntityField Feature Source # 
data Key Feature Source # 
type PersistEntityBackend Feature Source # 

data Actor Source #

Instances

Eq Actor Source # 

Methods

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

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

Show Actor Source # 

Methods

showsPrec :: Int -> Actor -> ShowS #

show :: Actor -> String #

showList :: [Actor] -> ShowS #

PersistFieldSql Actor Source # 

Methods

sqlType :: Proxy * Actor -> SqlType #

PersistEntity Actor Source # 
PersistField Actor Source # 
ToBackendKey SqlBackend Actor Source # 
Eq (Key Actor) Source # 

Methods

(==) :: Key Actor -> Key Actor -> Bool #

(/=) :: Key Actor -> Key Actor -> Bool #

Ord (Key Actor) Source # 
Read (Key Actor) Source # 
Show (Key Actor) Source # 
ToJSON (Key Actor) Source # 
FromJSON (Key Actor) Source # 
ToHttpApiData (Key Actor) Source # 
FromHttpApiData (Key Actor) Source # 
PathPiece (Key Actor) Source # 
PersistFieldSql (Key Actor) Source # 

Methods

sqlType :: Proxy * (Key Actor) -> SqlType #

PersistField (Key Actor) Source # 
data Unique Actor Source # 
data EntityField Actor Source # 
data Key Actor Source # 
type PersistEntityBackend Actor Source # 

mkFeature :: FeatureName -> Bool -> IO Feature Source #

Convienience constructor

runMigrations :: ConnectionPool -> IO [Text] Source #

Performs non-destructive database schema migrations.

Orphan instances