Skip to content

Commit c1ba621

Browse files
authored
Fixed to defined -> to define and removed unnecessary tab (#462)
1 parent abf0470 commit c1ba621

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/ecto/migration.ex

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ defmodule Ecto.Migration do
107107
108108
Having to write both `up/0` and `down/0` functions for every
109109
migration is tedious and error prone. For this reason, Ecto allows
110-
you to defined a `change/0` callback with all of the code you want
110+
you to define a `change/0` callback with all of the code you want
111111
to execute when migrating and Ecto will automatically figure out
112112
the `down/0` for you. For example, the migration above can be
113113
written as:
@@ -661,7 +661,7 @@ defmodule Ecto.Migration do
661661
add :name, :string
662662
add :price, :decimal
663663
end
664-
664+
665665
create table("daily_prices", primary_key: false, options: "PARTITION BY RANGE (date)") do
666666
add :name, :string, primary_key: true
667667
add :date, :date, primary_key: true

0 commit comments

Comments
 (0)