Skip to content

Commit b94a1e3

Browse files
committed
Update documentation
1 parent 586900b commit b94a1e3

File tree

1 file changed

+6
-7
lines changed

1 file changed

+6
-7
lines changed

lib/ecto/migration.ex

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -276,13 +276,12 @@ defmodule Ecto.Migration do
276276
277277
## Collations
278278
279-
For columns with a text type, the collation can be set on the column with the
280-
option `:collation`. This can be useful when relying on ASCII sorting of
281-
characters when using a fractional index for example. All supported collations
282-
are not known by `ecto_sql` and specifying an incorrect collation might cause
283-
a migration to fail.
284-
285-
### N.B. be sure to match the collation on any columns that reference other text columns. See example below
279+
Collations can be set on a column with the option `:collation`. This can be
280+
useful when relying on ASCII sorting of characters when using a fractional index
281+
for example. All supported collations and types that suuport setting a collocation
282+
are not known by `ecto_sql` and specifying an incorrect collation or a collation on
283+
an unsupported type might cause a migration to fail. Be sure to match the collation
284+
on any column that references another column.
286285
287286
def change do
288287
create table(:collate_reference) do

0 commit comments

Comments
 (0)