ragtime.sql
->migrations
(->migrations migrations)
Given a data structure describing one or more migrations, return an
ordered collection of normalized migration maps.
load-directory
(load-directory path)
Load a collection of Ragtime migrations from a directory. These can be in edn
or SQL format.
load-file-seq
multimethod
Given an collection of files with the same extension, return a ordered
collection of migrations. Dispatches on extension (e.g. ".edn"). Extend
this multimethod to support new formats for specifying SQL migrations.
load-migrations
(load-migrations f)
Load one or more migrations from an edn reader source. Returns an ordered
collection of migration maps.
load-resources
(load-resources path)
Load a collection of Ragtime migrations from a classpath prefix. These can be
in edn or SQL format.