Skip to content

Commit 0dc156d

Browse files
authored
Merge pull request #41 from belaustegui/issues-40-fixes-readme
Fix mistake in README example
2 parents 5876161 + 8edbb20 commit 0dc156d

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
66

77
## Unreleased
88
- Integrate Ebert for code style checks and static analysis.
9+
- Fix typos and mistakes in README.
910

1011
## 2.0.0 - 2017-04-11
1112
- Rewrite the `Trans` module to use underscore functions to store configuration.

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ defmodule MyApp.Repo.Migrations.AddTranslationsToArticles do
6363
use Ecto.Migration
6464

6565
def change do
66-
update table(:articles) do
66+
alter table(:articles) do
6767
add :translations, :map
6868
end
6969
end

0 commit comments

Comments
 (0)