Skip to content

Commit

Permalink
Update lib/ecto/migration.ex
Browse files Browse the repository at this point in the history
  • Loading branch information
josevalim authored Jun 19, 2024
1 parent 0414fb9 commit e8ce63c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/ecto/migration.ex
Original file line number Diff line number Diff line change
Expand Up @@ -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 \\ [])
Expand Down

0 comments on commit e8ce63c

Please sign in to comment.