Simplify DB connection config to single JDBC_URL for all profiles
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -33,13 +33,7 @@
|
|||||||
:env #ig/ref :system/env}
|
:env #ig/ref :system/env}
|
||||||
|
|
||||||
:db.sql/connection
|
:db.sql/connection
|
||||||
#profile {:dev {:jdbc-url #env JDBC_URL}
|
{:jdbc-url #env JDBC_URL}
|
||||||
:test {:jdbc-url #env JDBC_URL}
|
|
||||||
:prod {:jdbc-url #env JDBC_URL
|
|
||||||
:init-size 1
|
|
||||||
:min-idle 1
|
|
||||||
:max-idle 8
|
|
||||||
:max-active 32}}
|
|
||||||
|
|
||||||
:db.sql/query-fn
|
:db.sql/query-fn
|
||||||
{:conn #ig/ref :db.sql/connection
|
{:conn #ig/ref :db.sql/connection
|
||||||
|
|||||||
Reference in New Issue
Block a user