diff --git a/src/sources/mssql/mssql-cast-rules.lisp b/src/sources/mssql/mssql-cast-rules.lisp index 3e1ee0f..7beb000 100644 --- a/src/sources/mssql/mssql-cast-rules.lisp +++ b/src/sources/mssql/mssql-cast-rules.lisp @@ -22,9 +22,6 @@ (:source (:type "geography") :target (:type "bytea") :using pgloader.transforms::byte-vector-to-bytea) - (:source (:type "money") :target (:type "numeric")) - (:source (:type "smallmoney") :target (:type "numeric")) - (:source (:type "tinyint") :target (:type "smallint")) (:source (:type "float") :target (:type "float") @@ -39,6 +36,12 @@ (:source (:type "numeric") :target (:type "numeric") :using pgloader.transforms::float-to-string) + (:source (:type "money") :target (:type "numeric") + :using pgloader.transforms::float-to-string) + + (:source (:type "smallmoney") :target (:type "numeric") + :using pgloader.transforms::float-to-string) + (:source (:type "binary") :target (:type "bytea") :using pgloader.transforms::byte-vector-to-bytea)