Database.Schema.Migrations.Filesystem
Description
This module provides a type for interacting with a
filesystem-backed MigrationStore.
- data FilesystemStore = FSStore {}
- migrationFromFile :: FilesystemStore -> String -> IO (Either String Migration)
Documentation
data FilesystemStore Source
Instances
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.