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?
example (not my) source code from github https://github.com/codonnell/mygiftlist/blob/cb43f21268e1150070b166a2f729b7eaa58cf8c4/src/rocks/mygiftlist/server_components/db.clj
Here's an example that I commonly use
https://github.com/dharrigan/startrek/blob/master/src/startrek/db.clj
I don't use Integrant (rather I use Juxt Clip), but the concept is the same.
Thanks!
And here's the config that Clip uses to "boot"
<https://github.com/dharrigan/startrek/blob/master/resources/config/config.edn>
Ok, thank you very much, with that that info, more clear how works! 👍
you're most welcome 🙂