fix(mssql): correct order of MSSQL type mappings

This commit is contained in:
2026-05-19 19:26:30 +02:00
parent cb735f0754
commit 6a759ef3d1
+7 -7
View File
@@ -21,13 +21,13 @@ var CanonicalToMSSQLTypes = map[string]string{
"uint32": "BIGINT", "uint32": "BIGINT",
"uint64": "BIGINT", "uint64": "BIGINT",
// Integer — SQL canonical (serial types map to base integer; IDENTITY is set via AutoIncrement) // Integer — SQL canonical (serial types map to base integer; IDENTITY is set via AutoIncrement)
"integer": "INT", "integer": "INT",
"smallint": "SMALLINT", "smallint": "SMALLINT",
"bigint": "BIGINT", "bigint": "BIGINT",
"tinyint": "TINYINT", "tinyint": "TINYINT",
"serial": "INT", "serial": "INT",
"smallserial": "SMALLINT", "smallserial": "SMALLINT",
"bigserial": "BIGINT", "bigserial": "BIGINT",
// Float — Go canonical // Float — Go canonical
"float32": "REAL", "float32": "REAL",
"float64": "FLOAT", "float64": "FLOAT",