Skip to content

Commit

Permalink
fix: split off varchar options from index
Browse files Browse the repository at this point in the history
  • Loading branch information
zachdaniel committed Dec 5, 2024
1 parent 411a94e commit 14374ad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/resource_generator/resource_generator.ex
Original file line number Diff line number Diff line change
Expand Up @@ -452,7 +452,7 @@ defmodule AshPostgres.ResourceGenerator do
if String.contains?(thing, "(") do
inspect(thing)
else
":#{thing}"
Enum.at(String.split(":#{thing}", " "), 0)
end
end)

Expand Down

0 comments on commit 14374ad

Please sign in to comment.