Liking cljdoc? Tell your friends :D

daaku.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.
sourceraw 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.
sourceraw docstring

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

× close