Closed seancorfield closed 2 years ago
A follow-up: if you are just passing the value of :db
straight through to next.jdbc
, you might want to note in the documentation that it can be anything next.jdbc/get-connection
(or next.jdbc/get-datasource
) can accept.
FYI, just to close the loop, next.jdbc
1.2.790 has been released with support for that {:connection-uri ...}
format (as well as raw {:datasource ...}
without :user
/:password
).
Thanks for the heads up, I've updated the dependency. Should be a release sometime next week with a few fixes.
Updated readme and changelog to mention this. Fixed in latest release 1.4.0
Your docs show three ways to specify the
:db
for migrations::dbtype
/:dbname
/etc:connection-uri
While that worked for
clojure.java.jdbc
, the second form has not been accepted bynext.jdbc
so far.A couple of c.j.j compatibility issues have come up recently, as far as the "db-spec" hash map is concerned so I've just implemented https://github.com/seancorfield/next-jdbc/issues/207 -- I'll try to remember to bump this issue when I cut the next release and you can bump the dependency in Migratus.