Skip to content

Commit 7b18ca8

Browse files
committed
Tidy up README.md for naming and clarity
1 parent 310e73a commit 7b18ca8

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -49,14 +49,14 @@ config :my_app, MyApp.Repo,
4949

5050
Type extensions allow custom data types to be stored and retrieved from an SQLite3 database.
5151

52-
This is done by implementing a module with the `Ecto.Adapters.SQLite3.Extension` behaviour which maps types to encoder and decoder functions. Extensions are activated by adding them to the `ecto_sqlite3` configuration as a list of extention modules assigned to the `type_extensions` key:
52+
This is done by implementing a module with the `Ecto.Adapters.SQLite3.TypeExtension` behaviour which maps types to encoder and decoder functions. Type extensions are activated by adding them to the `ecto_sqlite3` configuration as a list of type extention modules assigned to the `type_extensions` key:
5353

5454
```elixir
5555
config :exqlite:
56-
type_extensions: [GeoSQL.SpatialLite.TypeExtension]
56+
type_extensions: [MyApp.TypeExtension]
5757

5858
config :ecto_sqlite3,
59-
type_extensions: [GeoSQL.SpatialLite.TypeExtension]
59+
type_extensions: [MyApp.TypeExtension]
6060
```
6161

6262
## Database Encryption

0 commit comments

Comments
 (0)