This module provides a type for interacting with a
filesystem-backed MigrationStore
.
- data FilesystemStore = FSStore {}
- migrationFromFile :: FilesystemStore -> String -> IO (Either String Migration)
Documentation
migrationFromFile :: FilesystemStore -> String -> IO (Either String Migration)Source
Given a file path, read and parse the migration at the specified path and, if successful, return the migration and its claimed dependencies. Otherwise return a parsing error message.