Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
This modules deals with merging scripts and applied migrations, and finding inconsistencies.
Synopsis
- data Merged = Merged {
- unrecorded :: [Script]
- scriptMissing :: [Applied]
- contentMismatch :: [ContentMismatch]
- unapplied :: [Script]
- data ContentMismatch = ContentMismatch {}
- merge :: [Applied] -> [Script] -> Merged
- canApply :: Merged -> Bool
- converged :: Merged -> Bool
Documentation
Merged | |
|
data ContentMismatch Source #
The applied migration and its purported script differ in content.
Instances
ToJSON ContentMismatch Source # | |
Defined in Relocant.Merge toJSON :: ContentMismatch -> Value # toEncoding :: ContentMismatch -> Encoding # toJSONList :: [ContentMismatch] -> Value # toEncodingList :: [ContentMismatch] -> Encoding # | |
Show ContentMismatch Source # | |
Defined in Relocant.Merge showsPrec :: Int -> ContentMismatch -> ShowS # show :: ContentMismatch -> String # showList :: [ContentMismatch] -> ShowS # | |
Eq ContentMismatch Source # | |
Defined in Relocant.Merge (==) :: ContentMismatch -> ContentMismatch -> Bool # (/=) :: ContentMismatch -> ContentMismatch -> Bool # |