We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see ourdocumentation.
There was an error while loading.Please reload this page.
1 parentfb57ce5 commit6634f22Copy full SHA for 6634f22
lib/repo.ex
@@ -8,15 +8,18 @@ defmodule AshPostgres.Repo do
8
instead of returning `{:ok, config}`, use `super(config)` to pass the
9
configuration to the `AshPostgres.Repo` implementation.
10
11
- Currently the only additional configuration supported is `installed_extensions`,
12
- and the only extension that ash_postgres reacts to is `"pg_trgm"`. If this extension
13
- is installed, then the `AshPostgres.Predicates.Trigram` custom predicate will be
14
- available.
+ ## Installed Extensions
15
+ To configure your list of installed extensions, define `installed_extensions/0`
+
+ Extensions that are relevant to ash_postgres:
16
17
+ * `"uuid-ossp"` - Sets UUID primary keys defaults in the migration generator
18
+ * `"pg_trgm"` - Makes the `AshPostgres.Predicates.Trigram` custom predicate available
19
20
```
21
def installed_extensions() do
- ["pg_trgm"]
22
+ ["pg_trgm", "uuid-ossp"]
23
end
24
25
"""