diff --git a/lib/ecto/migration.ex b/lib/ecto/migration.ex index 242fea58..6c3bb7a3 100644 --- a/lib/ecto/migration.ex +++ b/lib/ecto/migration.ex @@ -921,7 +921,7 @@ defmodule Ecto.Migration do create index("products", ["(to_tsvector('english', name))"], name: :products_name_vector, using: "GIN") - If the expression is a column name it will not be quoted. This may cause issues + If the expression is a column name, it will not be quoted. This may cause issues when the column is named after a reserved word. Consider using an atom instead. """ def index(table, columns, opts \\ [])