Liking cljdoc? Tell your friends :D

ventas.database.schema


get-migrationclj

(get-migration kw)
source

get-migrationsclj

(get-migrations)
source

migrateclj

(migrate & {:keys [recreate?]})

Migrates the database.

Migrates the database.
sourceraw docstring

register-migration!clj

(register-migration! attributes & [key])

Takes a list of attributes and an optional migration key. Migrations can be replaced if the same migration key is used, but note that migrations will only run once during the lifetime of a database (hence you'd need to use (seed/seed :recreate? true) or an equivalent). This is why doing so generates a warning.

Takes a list of attributes and an optional migration key.
Migrations can be replaced if the same migration key is used, but
note that migrations will only run once during the lifetime of a database
(hence you'd need to use (seed/seed :recreate? true) or an equivalent).
This is why doing so generates a warning.
sourceraw docstring

reset-migrations!clj

(reset-migrations!)
source

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

× close