persistent-migration-0.0.1: Manual migrations for the persistent library

MaintainerBrandon Chinn <brandonchinn178@gmail.com>
Stabilityexperimental
Portabilityportable
Safe HaskellNone
LanguageHaskell2010

Database.Persist.Migration.Utils.Plan

Description

Define functions useful for compiling a plan of migration.

Synopsis

Documentation

getPath :: [(Edge, a)] -> Node -> Node -> Maybe [a] Source #

Given a list of edges and their data and a start/end node, return the shortest path.

Errors if no path is found.