File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments