Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions lib/database/postgresql.ex
Original file line number Diff line number Diff line change
Expand Up @@ -142,6 +142,7 @@ defimpl Plsm.Database, for: Plsm.Database.PostgreSQL do
String.starts_with?(upcase, "TIMESTAMP") == true -> :timestamp
String.starts_with?(upcase, "TIME") == true -> :time
String.starts_with?(upcase, "BOOLEAN") == true -> :boolean
String.starts_with?(upcase, "BYTEA") == true -> :binary
true -> :none
end
end
Expand Down
1 change: 1 addition & 0 deletions lib/io/export.ex
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ defmodule Plsm.IO.Export do
defp map_type(:time), do: ":time"
defp map_type(:timestamp), do: ":naive_datetime"
defp map_type(:integer), do: ":integer"
defp map_type(:binary), do: ":binary"

@doc """
When escaped name and name are the same, source option is not needed
Expand Down