From fa8c9a10e6faa56eeec2f6b225c74ebec96d4f5c Mon Sep 17 00:00:00 2001 From: Alex Klein Date: Sat, 6 Jul 2024 16:08:12 +0200 Subject: [PATCH] fix(mssql): int (32bit) cast to bigserial (64bit) Fixes: dimitri/pgloader#1590 Co-Authored-By: Nathanael Ruf --- src/sources/mssql/mssql-cast-rules.lisp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/sources/mssql/mssql-cast-rules.lisp b/src/sources/mssql/mssql-cast-rules.lisp index 63155d29..aa243793 100644 --- a/src/sources/mssql/mssql-cast-rules.lisp +++ b/src/sources/mssql/mssql-cast-rules.lisp @@ -13,7 +13,7 @@ (:source (:type "xml") :target (:type "xml" :drop-typemod t)) (:source (:type "int" :auto-increment t) - :target (:type "bigserial" :drop-default t)) + :target (:type "serial" :drop-default t)) (:source (:type "bigint" :auto-increment t) :target (:type "bigserial"))