feature-flipper-postgres-0.1.0.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 # 

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

Convienience constructor

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

Performs non-destructive database schema migrations.

Orphan instances