duct

rboyd 2019-02-08T19:52:44.225600Z

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

rboyd 2019-02-08T19:52:58.226100Z

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

2019-02-08T19:53:27.226700Z

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

2019-02-08T19:53:49.227400Z

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

rboyd 2019-02-08T19:58:37.227800Z

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

2019-02-08T20:01:01.228Z

np