This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2018-02-01
Channels
- # beginners (117)
- # boot (8)
- # cider (22)
- # clara (3)
- # clojure (79)
- # clojure-italy (3)
- # clojure-spec (34)
- # clojure-uk (34)
- # clojurescript (74)
- # cursive (7)
- # datascript (5)
- # datomic (28)
- # defnpodcast (1)
- # dirac (9)
- # docker (25)
- # duct (1)
- # emacs (14)
- # fulcro (67)
- # graphql (1)
- # hoplon (15)
- # jobs (4)
- # juxt (6)
- # off-topic (76)
- # parinfer (3)
- # re-frame (25)
- # reagent (4)
- # rum (6)
- # shadow-cljs (1)
- # spacemacs (30)
- # sql (15)
- # unrepl (36)
- # yada (1)
Does duct/migrator.ragtime execute migration in production profile? It seems ragtime does not work in my application… A part of my config.edn is below:
{;; various other configurations here
:duct.module/sql {}
:duct.migrator/ragtime {:migrations [#ig/ref :my.migration/xxx]}
[:duct.migrator.ragtime/sql :my.migration/xxx]
{:up [#duct/resource "xxx.up.sql"]
:down [#duct/resource "xxx.down.sql"]}}
Reading source code of migrator.ragtime, I think migration will be executed when duct.migrator.ragtime/sql
component is started, and it appears to be in production configuration map…