changed
README.md
|
@@ -17,7 17,7 @@ in Hexdocs.
|
17
17
|
```elixir
|
18
18
|
defp deps do
|
19
19
|
[
|
20
|
- {:ecto_sqlite3, "~> 0.13"}
|
20
|
{:ecto_sqlite3, "~> 0.16"}
|
21
21
|
]
|
22
22
|
end
|
23
23
|
```
|
|
@@ -68,7 68,7 @@ Once you have `exqlite` configured, you can use the `:key` option in the databas
|
68
68
|
```elixir
|
69
69
|
config :my_app, MyApp.Repo,
|
70
70
|
database: "path/to/my/encrypted-database.db",
|
71
|
- key: "super-secret'
|
71
|
key: "supersecret'
|
72
72
|
```
|
73
73
|
|
74
74
|
## Benchmarks
|
changed
hex_metadata.config
|
@@ -2,7 2,7 @@
|
2
2
|
[{<<"GitHub">>,<<"https://github.com/elixir-sqlite/ecto_sqlite3">>},
|
3
3
|
{<<"docs">>,<<"https://hexdocs.pm/ecto_sqlite3">>}]}.
|
4
4
|
{<<"name">>,<<"ecto_sqlite3">>}.
|
5
|
- {<<"version">>,<<"0.15.1">>}.
|
5
|
{<<"version">>,<<"0.16.0">>}.
|
6
6
|
{<<"description">>,<<"An SQLite3 Ecto3 adapter.">>}.
|
7
7
|
{<<"elixir">>,<<"~> 1.14">>}.
|
8
8
|
{<<"app">>,<<"ecto_sqlite3">>}.
|
|
@@ -10,9 10,10 @@
|
10
10
|
[<<"lib">>,<<"lib/ecto">>,<<"lib/ecto/adapters">>,
|
11
11
|
<<"lib/ecto/adapters/sqlite3">>,
|
12
12
|
<<"lib/ecto/adapters/sqlite3/data_type.ex">>,
|
13
|
<<"lib/ecto/adapters/sqlite3/codec.ex">>,
|
13
14
|
<<"lib/ecto/adapters/sqlite3/connection.ex">>,
|
14
|
- <<"lib/ecto/adapters/sqlite3/codec.ex">>,<<"lib/ecto/adapters/sqlite3.ex">>,
|
15
|
- <<".formatter.exs">>,<<"mix.exs">>,<<"README.md">>,<<"LICENSE">>]}.
|
15
|
<<"lib/ecto/adapters/sqlite3.ex">>,<<".formatter.exs">>,<<"mix.exs">>,
|
16
|
<<"README.md">>,<<"LICENSE">>]}.
|
16
17
|
{<<"licenses">>,[<<"MIT">>]}.
|
17
18
|
{<<"requirements">>,
|
18
19
|
[[{<<"name">>,<<"decimal">>},
|
|
@@ -33,6 34,6 @@
|
33
34
|
[{<<"name">>,<<"exqlite">>},
|
34
35
|
{<<"app">>,<<"exqlite">>},
|
35
36
|
{<<"optional">>,false},
|
36
|
- {<<"requirement">>,<<"~> 0.19">>},
|
37
|
{<<"requirement">>,<<"~> 0.22">>},
|
37
38
|
{<<"repository">>,<<"hexpm">>}]]}.
|
38
39
|
{<<"build_tools">>,[<<"mix">>]}.
|
changed
lib/ecto/adapters/sqlite3.ex
|
@@ -51,6 51,9 @@ defmodule Ecto.Adapters.SQLite3 do
|
51
51
|
* `:datetime_type` - Defaults to `:iso8601`. Determines how datetime fields are stored in the database.
|
52
52
|
The allowed values are `:iso8601` and `:text_datetime`. `:iso8601` corresponds to a string of the form
|
53
53
|
`YYYY-MM-DDThh:mm:ss` and `:text_datetime` corresponds to a string of the form `YYYY-MM-DD hh:mm:ss`
|
54
|
* `:load_extensions` - list of paths identifying extensions to load. Defaults to []. The provided list will
|
55
|
be merged with the global extensions list, set on :exqlite, :load_extensions. Be aware that the path should
|
56
|
handle pointing to a library compiled for the current architecture. See `Exqlite.Connection.connect/1` for more.
|
54
57
|
|
55
58
|
For more information about the options above, see [sqlite documentation][1]
|
changed
mix.exs
|
@@ -1,7 1,7 @@
|
1
1
|
defmodule EctoSQLite3.MixProject do
|
2
2
|
use Mix.Project
|
3
3
|
|
4
|
- @version "0.15.1"
|
4
|
@version "0.16.0"
|
5
5
|
|
6
6
|
def project do
|
7
7
|
[
|
|
@@ -37,7 37,7 @@ defmodule EctoSQLite3.MixProject do
|
37
37
|
{:decimal, "~> 1.6 or ~> 2.0"},
|
38
38
|
{:ecto_sql, "~> 3.11"},
|
39
39
|
{:ecto, "~> 3.11"},
|
40
|
- {:exqlite, "~> 0.19"},
|
40
|
{:exqlite, "~> 0.22"},
|
41
41
|
{:ex_doc, "~> 0.27", only: [:dev], runtime: false},
|
42
42
|
{:jason, ">= 0.0.0", only: [:dev, :test, :docs]},
|
43
43
|
{:temp, "~> 0.4", only: [:test]},
|