Skip to content

Commit f194854

Browse files
committed
Fix bug accidentally introduced in commit f886c62, remove unnecessary MapSet encoding, efficiency upgrade (avoid encoding unused data structs), version bump to 2.0.0-alpha.3.
1 parent ccac37a commit f194854

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -166,15 +166,15 @@ Install the [Hex](https://hex.pm/packages/ecto_adapters_dynamodb) package by add
166166

167167
```elixir
168168
def deps do
169-
[{:ecto_adapters_dynamodb, "~> 2.0.0-alpha.2"}]
169+
[{:ecto_adapters_dynamodb, "~> 2.0.0-alpha.3"}]
170170
end
171171
```
172172

173173
Otherwise, to fetch from GitHub:
174174

175175
```elixir
176176
def deps do
177-
[{:ecto_adapters_dynamodb, git: "https://github.com/circles-learning-labs/ecto_adapters_dynamodb", tag: "2.0.0-alpha.2"}]
177+
[{:ecto_adapters_dynamodb, git: "https://github.com/circles-learning-labs/ecto_adapters_dynamodb", tag: "2.0.0-alpha.3"}]
178178
end
179179
```
180180

lib/ecto_adapters_dynamodb.ex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -252,7 +252,7 @@ defmodule Ecto.Adapters.DynamoDB do
252252

253253
# Ecto migration does not know to specify 'scan: true' to retrieve the persisted migration versions
254254
# from line 34, file "deps/ecto/lib/ecto/migration/schema_migration.ex"
255-
migration_source = Keyword.fetch!(repo.config, :migration_source)
255+
migration_source = Keyword.get(repo.config, :migration_source, "schema_migrations")
256256
updated_opts = if table == migration_source do
257257
ecto_dynamo_log(:debug, "#{inspect __MODULE__}.execute: table name corresponds with migration source: #{inspect migration_source}. Setting options for recursive scan.", %{})
258258

mix.exs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ defmodule Ecto.Adapters.DynamoDB.Mixfile do
33

44
def project do
55
[app: :ecto_adapters_dynamodb,
6-
version: "2.0.0-alpha.2",
6+
version: "2.0.0-alpha.3",
77
elixir: "~> 1.4",
88
build_embedded: Mix.env == :prod,
99
start_permanent: Mix.env == :prod,

0 commit comments

Comments
 (0)