Fork me on GitHub
#sql
<
2021-03-25
>
sb11:03:52

I would like to use next.jdbc with migratus and mount. I saw that is possible to use with hickari-cp eg I can stop/start server, but in this case do I need to add the pool as db? eg (migratus/init (merge migratus-config {:db *pool*})) or here is a better solution? what is the best practice?

dharrigan11:03:38

Here's an example that I commonly use

dharrigan11:03:55

I don't use Integrant (rather I use Juxt Clip), but the concept is the same.

sb11:03:58

Thanks!

dharrigan11:03:01

And here's the config that Clip uses to "boot"

dharrigan11:03:03

👍 3
🍻 3
sb11:03:28

Ok, thank you very much, with that that info, more clear how works! 👍

dharrigan11:03:45

you're most welcome 🙂