From 6a759ef3d147266a3b68184ec797c1e0466145ef Mon Sep 17 00:00:00 2001 From: Hein Date: Tue, 19 May 2026 19:26:30 +0200 Subject: [PATCH] fix(mssql): correct order of MSSQL type mappings --- pkg/mssql/datatypes.go | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/pkg/mssql/datatypes.go b/pkg/mssql/datatypes.go index e8ad3e9..01de2f9 100644 --- a/pkg/mssql/datatypes.go +++ b/pkg/mssql/datatypes.go @@ -21,13 +21,13 @@ var CanonicalToMSSQLTypes = map[string]string{ "uint32": "BIGINT", "uint64": "BIGINT", // Integer — SQL canonical (serial types map to base integer; IDENTITY is set via AutoIncrement) - "integer": "INT", - "smallint": "SMALLINT", - "bigint": "BIGINT", - "tinyint": "TINYINT", - "serial": "INT", - "smallserial": "SMALLINT", - "bigserial": "BIGINT", + "integer": "INT", + "smallint": "SMALLINT", + "bigint": "BIGINT", + "tinyint": "TINYINT", + "serial": "INT", + "smallserial": "SMALLINT", + "bigserial": "BIGINT", // Float — Go canonical "float32": "REAL", "float64": "FLOAT",