Skip to content

Commit d19d4ce

Browse files
authored
improvement: add generator to tsvector type (#655)
1 parent e7530aa commit d19d4ce

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

lib/types/tsvector.ex

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,4 +64,9 @@ defmodule AshPostgres.Tsvector do
6464
def cast_stored(_, _) do
6565
:error
6666
end
67+
68+
@impl true
69+
def generator(_constraints) do
70+
StreamData.constant([])
71+
end
6772
end

0 commit comments

Comments
 (0)