Safe Haskell | None |
---|---|
Language | Haskell2010 |
- data Feature = Feature {}
- data Actor = Actor {
- actorActorId :: !ActorId
- actorFeatureId :: !(Key Feature)
- actorUpdated :: !UTCTime
- actorCreated :: !UTCTime
- type ActorId = Key Actor
- type FeatureId = Key Feature
- migrateAll :: Migration
- type FeatureWithActorIds = (Feature, Set ActorId)
- mkFeature :: FeatureName -> Bool -> IO Feature
- modelsToFeatures :: [Entity Feature] -> Features
- modelToFeature :: Feature -> Feature
- actorIdToModel :: ActorId -> FeatureId -> IO Actor
- featureToModel :: Feature -> IO FeatureWithActorIds
- toFeatureTuple :: Feature -> (FeatureName, Feature)
- runMigrations :: ConnectionPool -> IO [Text]
- module Database.Persist.Postgresql
Documentation
Feature | |
|
Eq Feature Source # | |
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 # | |
PersistField (Key Feature) Source # | |
data Unique Feature Source # | |
data EntityField Feature Source # | |
data Key Feature Source # | |
type PersistEntityBackend Feature Source # | |
Actor | |
|
Eq Actor Source # | |
Show Actor Source # | |
PersistFieldSql Actor Source # | |
PersistEntity Actor Source # | |
PersistField Actor Source # | |
ToBackendKey SqlBackend Actor Source # | |
Eq (Key Actor) Source # | |
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 # | |
PersistField (Key Actor) Source # | |
data Unique Actor Source # | |
data EntityField Actor Source # | |
data Key Actor Source # | |
type PersistEntityBackend Actor Source # | |
modelToFeature :: Feature -> Feature Source #
toFeatureTuple :: Feature -> (FeatureName, Feature) Source #
runMigrations :: ConnectionPool -> IO [Text] Source #
Performs non-destructive database schema migrations.
module Database.Persist.Postgresql