Skip to content

Commit

Permalink
feat(gencode): add bpchar (character) type support
Browse files Browse the repository at this point in the history
  • Loading branch information
vst committed Jun 18, 2024
1 parent 42ba8d7 commit 55a6ec9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Postmap/Gencode/Haskell.hs
Original file line number Diff line number Diff line change
Expand Up @@ -299,6 +299,7 @@ mkRecordColMapping record field@Field {..} =


defFieldType :: T.Text -> (Bool, T.Text)
defFieldType "bpchar" = (False, "Data.Char.Char")
defFieldType "date" = (False, "Data.Time.Day")
defFieldType "time" = (False, "Data.Time.TimeOfDay")
defFieldType "timestamp" = (False, "Data.Time.LocalTime")
Expand Down

0 comments on commit 55a6ec9

Please sign in to comment.