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

migrate-one!clj

(migrate-one! key)
source

register-migration!clj

(register-migration! key attributes)

Takes a migration key and a list of attributes. 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 migration key and a list of attributes.
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

register-migrations!clj

(register-migrations! migrations)

Same as calling register-migration! many times, but makes it clear that the migrations have a certain order

Same as calling register-migration! many times, but makes it clear
that the migrations have a certain order
sourceraw docstring

remove-migration!clj

(remove-migration! kw)
source

reset-migrations!clj

(reset-migrations!)
source

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

× close