Fork me on GitHub
#duct
<
2019-02-08
>
rboyd19:02:44

I have a fairly empty dev.edn/local.edn but :duct.migrator/ragtime seems only to run after dev/prep/go, but not in production running a stock main.cljs

rboyd19:02:58

is that the expected behavior or am I doing something silly?

weavejester19:02:27

It's expected behaviour. To run migrations in production, pass the :duct/migrator key, e.g. lein run :duct/migrator.

weavejester19:02:49

The reason for this is that you don't want nodes to migrate automatically if you have multiple nodes.

rboyd19:02:37

aha, I see that now in the docs. that worked perfectly. thanks!