Skip to content

Commit 919b9df

Browse files
authored
fix: smallserial not mapping to proper type (#574)
1 parent adf7a04 commit 919b9df

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/resource_generator/spec.ex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -958,7 +958,7 @@ defmodule AshPostgres.ResourceGenerator.Spec do
958958
defp type("numeric"), do: {:ok, :decimal}
959959
defp type("decimal"), do: {:ok, :decimal}
960960
defp type("smallint"), do: {:ok, :integer}
961-
defp type("smallserial"), do: {:ok, :ineger}
961+
defp type("smallserial"), do: {:ok, :integer}
962962
defp type("serial"), do: {:ok, :integer}
963963
defp type("text"), do: {:ok, :string}
964964
defp type("time"), do: {:ok, :time}

0 commit comments

Comments
 (0)