Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Documentation
migrateValue1to1 :: Connection -> PreviousEventTableName -> EventTableName -> (Value -> Value) -> IO () Source #
migrate1to1 :: forall a b. (FromJSON a, ToJSON b) => Connection -> PreviousEventTableName -> EventTableName -> (Stored a -> Stored b) -> IO () Source #
migrate1toMany :: forall a b. (FromJSON a, ToJSON b) => Connection -> PreviousEventTableName -> EventTableName -> (Stored a -> [Stored b]) -> IO () Source #
migrate1toManyWithState :: forall a b state. (FromJSON a, ToJSON b) => Connection -> PreviousEventTableName -> EventTableName -> (state -> Stored a -> (state, [Stored b])) -> state -> IO () Source #