Liking cljdoc? Tell your friends :D

pgmig


migrateclj

(migrate ds migrations)

Given a spec or data source, and a vector of maps containing :name and :content, it will run the SQL content of all pending migrations if any. Remember never to delete migrations, and only add new ones at the end.

Given a spec or data source, and a vector of maps containing :name and
:content, it will run the SQL content of all pending migrations if any.
Remember never to delete migrations, and only add new ones at the end.
raw docstring

migrations-from-dirclj

(migrations-from-dir dir)

Given a directory, loads all all .sql files and prepares them as a vector of migrations as expected by the migrate function.

Given a directory, loads all all .sql files and prepares them as a vector
of migrations as expected by the migrate function.
raw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close