Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit6634f22

Browse files
committed
docs: update repo docs
1 parentfb57ce5 commit6634f22

File tree

1 file changed

+8
-5
lines changed

1 file changed

+8
-5
lines changed

‎lib/repo.ex‎

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,15 +8,18 @@ defmodule AshPostgres.Repo do
88
instead of returning `{:ok, config}`, use `super(config)` to pass the
99
configuration to the `AshPostgres.Repo` implementation.
1010
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.
11+
## Installed Extensions
1512
13+
To configure your list of installed extensions, define `installed_extensions/0`
14+
15+
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
1619
1720
```
1821
def installed_extensions() do
19-
["pg_trgm"]
22+
["pg_trgm", "uuid-ossp"]
2023
end
2124
```
2225
"""

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp