Safe Haskell | None |
---|
Migration library
- migrate :: Bool -> [(Int, Model c s Int64)] -> Model c s ()
- setVersion :: Int -> Model c s ()
- ensureExists :: Model c s ()
- createVersion :: Model c s ()
- echo :: String -> Model c s ()
Documentation
migrate :: Bool -> [(Int, Model c s Int64)] -> Model c s ()Source
Migrate the DB to the latest version.
setVersion :: Int -> Model c s ()Source
Set the current database version.
ensureExists :: Model c s ()Source
Ensure the version table exists.
createVersion :: Model c s ()Source
Create the version number.