Skip to content

Commit

Permalink
Update lib/ecto/migration.ex
Browse files Browse the repository at this point in the history
  • Loading branch information
greg-rychlewski committed Jun 19, 2024
1 parent 6e7f49c commit c0e7c11
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 @@ -924,7 +924,7 @@ defmodule Ecto.Migration do
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.
For example, the name `offset` is reserved in many databases so the following
could produce an error: `create index("products", ["offset"])`
could produce an error: `create index("products", ["offset"])`.
"""
def index(table, columns, opts \\ [])

Expand Down

0 comments on commit c0e7c11

Please sign in to comment.