From e8ce63cbbfdcb6340cf82a6ab966f64934321c3e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Valim?= Date: Wed, 19 Jun 2024 17:19:28 +0200 Subject: [PATCH] Update lib/ecto/migration.ex --- lib/ecto/migration.ex | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 \\ [])