| Safe Haskell | Safe-Inferred | 
|---|---|
| Language | Haskell2010 | 
Relocant.Script
Contents
Description
This module deals with migrations that haven't yet been applied.
Documentation
A migration script. Most users would get them by running readScripts,
 but those wanting a more fine-grained control would use readScript.
Constructors
| Script | |
readScripts :: FilePath -> IO [Script] Source #
Read migration Scripts from a directory. It only tries to read paths
 ending with the .sql extension and doesn't recurse into subdirectories.
Note: the directory must exist
readScript :: FilePath -> IO Script Source #
Read migration Scripts from a file. Useful when you need a more fine-grained
 control over which paths are read then what readScripts provides.