We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3e2a10f commit c424c7fCopy full SHA for c424c7f
1 file changed
src/integrant/annotations.edn
@@ -3,4 +3,17 @@
3
{jdbc-url
4
{:arg jdbc-url
5
:env JDBC_DATABASE_URL
6
- :doc "The JDBC database URL"}}}}
+ :doc "The JDBC database URL"}}
7
+ :doc
8
+ "A module that adds components for accessing SQL databases to the
9
+ configuration. Takes no options.
10
+
11
+ In the `:repl` profile, migrations are run using the `:rebase` strategy
12
+ (conflicts replace existing migrations), while in the `:main` profile the
13
+ `:raise-error` strategy is used (conflicts throw exceptions).
14
15
+ At the REPL, two functions are added to the `user` namespace:
16
+ - `db` - get a `DataSource` of the running system's database
17
+ - `sql` - run a SQL statement on the system's database
18
19
+ A Duct `jdbc-url` variable is added to configure the JDBC database URL."}}
0 commit comments