(migrate & {:keys [recreate?]})
Migrates the database.
Migrates the database.
(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.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close