Skip to content

Commit 22be1a8

Browse files
authored
feat(filter): handle correctly uuid field type (#525)
1 parent 2f707b1 commit 22be1a8

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

app/services/forest_liana/schema_adapter.rb

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -350,10 +350,12 @@ def get_type_for(column)
350350
type = 'Number'
351351
when :json, :jsonb, :hstore
352352
type = 'Json'
353-
when :string, :text, :citext, :uuid
353+
when :string, :text, :citext
354354
type = 'String'
355355
when :time
356356
type = 'Time'
357+
when :uuid
358+
type = 'Uuid'
357359
end
358360

359361
is_array = (column.respond_to?(:array) && column.array == true)

0 commit comments

Comments
 (0)