diff --git a/src/sources/mssql/mssql-cast-rules.lisp b/src/sources/mssql/mssql-cast-rules.lisp index 176f2ef..1de799e 100644 --- a/src/sources/mssql/mssql-cast-rules.lisp +++ b/src/sources/mssql/mssql-cast-rules.lisp @@ -15,6 +15,11 @@ (:source (:type "int" :auto-increment t) :target (:type "bigserial" :drop-default t)) + (:source (:type "tinyint") :target (:type "smallint")) + + (:source (:type "tinyint" :auto-increment t) + :target (:type "serial")) + (:source (:type "bit") :target (:type "boolean") :using pgloader.transforms::sql-server-bit-to-boolean) @@ -27,8 +32,6 @@ (:source (:type "geography") :target (:type "bytea") :using pgloader.transforms::byte-vector-to-bytea) - (:source (:type "tinyint") :target (:type "smallint")) - (:source (:type "float") :target (:type "float") :using pgloader.transforms::float-to-string)